diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/tiny-shmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index f0f55875dd6..ae532f50194 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c @@ -88,6 +88,8 @@ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags) close_file: put_filp(file); + return ERR_PTR(error); + put_dentry: dput(dentry); put_memory: |