X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=mm%2Ftiny-shmem.c;h=ae532f50194319ce83b813a88b6a25aa5a4e85e5;hb=05675de250c4efcefbd488e6a556639b63898af8;hp=f0f55875dd6acc34d3c9ee05298cd43dcea02650;hpb=2c7871982cf27caaddbaeb7e2121ce1374b520ff;p=linux-2.6-omap-h63xx.git 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: