diff options
author | jiangyiwen <jiangyiwen@huawei.com> | 2014-06-23 13:22:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-23 16:47:45 -0700 |
commit | 595297a8f9bc27f8f4a537fd57ed6d0a2060fb46 (patch) | |
tree | bbcc1c207aebeac161f4a5f3d1c41c1e130e3498 /fs/ext4 | |
parent | f7a14f32e7e1e7e025d88e7b4c8e3cc99770f756 (diff) | |
download | linux-595297a8f9bc27f8f4a537fd57ed6d0a2060fb46.tar.bz2 |
ocfs2: manually do the iput once ocfs2_add_entry failed in ocfs2_symlink and ocfs2_mknod
When the call to ocfs2_add_entry() failed in ocfs2_symlink() and
ocfs2_mknod(), iput() will not be called during dput(dentry) because no
d_instantiate(), and this will lead to umount hung.
Signed-off-by: jiangyiwen <jiangyiwen@huawei.com>
Cc: Joel Becker <jlbec@evilplan.org>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions