diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-02-23 05:59:19 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-19 06:55:01 -0400 |
commit | b4d232e65fa274a715dae39f77191071324e602a (patch) | |
tree | e361724c1dd08a8947cd74b0b0e092438eb50887 /fs | |
parent | 8a03feab32dceb78b9b1edf220e833d36d416b00 (diff) | |
download | kernel_samsung_espresso10-b4d232e65fa274a715dae39f77191071324e602a.zip kernel_samsung_espresso10-b4d232e65fa274a715dae39f77191071324e602a.tar.gz kernel_samsung_espresso10-b4d232e65fa274a715dae39f77191071324e602a.tar.bz2 |
[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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/hugetlbfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ struct file *hugetlb_file_setup(const char *name, size_t size) FMODE_WRITE | FMODE_READ, &hugetlbfs_file_operations); if (!file) - goto out_inode; + goto out_dentry; /* inode is already attached */ return file; |