summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm
diff options
context:
space:
mode:
authorjiangyiwen <jiangyiwen@huawei.com>2014-06-23 22:22:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-24 01:47:45 +0200
commit595297a8f9bc27f8f4a537fd57ed6d0a2060fb46 (patch)
treebbcc1c207aebeac161f4a5f3d1c41c1e130e3498 /fs/ocfs2/dlm
parentocfs2: fix a tiny race when running dirop_fileop_racer (diff)
downloadlinux-595297a8f9bc27f8f4a537fd57ed6d0a2060fb46.tar.xz
linux-595297a8f9bc27f8f4a537fd57ed6d0a2060fb46.zip
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/ocfs2/dlm')
0 files changed, 0 insertions, 0 deletions