From: Erez Zadok Date: Fri, 28 Dec 2007 00:19:46 +0000 (-0500) Subject: Unionfs: don't check dentry on error X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=a7534fd3503a49b7cd559504687d17790daa6b36;p=unionfs-3.10.y.git Unionfs: don't check dentry on error Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index df6138a2eef0..740d36466dad 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -158,9 +158,9 @@ out: unionfs_check_inode(parent); if (!err) { unionfs_check_dentry(dentry->d_parent); + unionfs_check_dentry(dentry); unionfs_check_nd(nd); } - unionfs_check_dentry(dentry); unionfs_unlock_dentry(dentry); unionfs_read_unlock(dentry->d_sb); return err;