commit | b4d232e65fa274a715dae39f77191071324e602a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Feb 23 05:59:19 2008 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 19 06:55:01 2008 -0400 |
tree | e361724c1dd08a8947cd74b0b0e092438eb50887 | |
parent | 8a03feab32dceb78b9b1edf220e833d36d416b00 [diff] [blame] |
[PATCH] double iput() on failure exit in hugetlb once we'd done d_instantiate(), we should only do dput(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index eee9487..6846785 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c
@@ -954,7 +954,7 @@ FMODE_WRITE | FMODE_READ, &hugetlbfs_file_operations); if (!file) - goto out_inode; + goto out_dentry; /* inode is already attached */ return file;