commit | 8a03feab32dceb78b9b1edf220e833d36d416b00 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Feb 23 05:46:50 2008 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 19 06:54:36 2008 -0400 |
tree | 6aff7bc4c5b790f13507417f73ef097ea9c79054 | |
parent | 430e285e0817e3e18aadd814bc078d50d8af0cbf [diff] [blame] |
[PATCH] double dput() on failure exit in tiny-shmem Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index 7020836..a63ee93 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c
@@ -89,6 +89,8 @@ close_file: put_filp(file); + return ERR_PTR(error); + put_dentry: dput(dentry); put_memory: