From: Erez Zadok Date: Thu, 10 Jan 2008 12:07:33 +0000 (-0500) Subject: Unionfs: don't check dentry on error X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=04052db7ebc46811f8d7607d53d15e5f49a45727;p=unionfs-odf.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 a837817784..b378f79095 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -124,9 +124,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;