From 4ed5dcb01e812d810df8aa1ed46e7621bb298721 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Thu, 27 Dec 2007 19:19:46 -0500 Subject: [PATCH] Unionfs: don't check dentry on error Signed-off-by: Erez Zadok --- fs/unionfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index df6138a2eef..740d36466da 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; -- 2.43.0