[Ocfs2-devel] [PATCH V2] ocfs2: manually do the iput once ocfs2_add_entry failed in ocfs2_symlink and ocfs2_mknod
Mark Fasheh
mfasheh at suse.de
Fri Jun 13 14:21:14 PDT 2014
Looks good, thanks for fixing this up.
On Fri, Jun 13, 2014 at 05:18:20PM +0800, jiangyiwen wrote:
> 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 at huawei.com>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Reviewed-by: Mark Fasheh <mfasheh at suse.de>
--
Mark Fasheh
More information about the Ocfs2-devel
mailing list