From: Erez Zadok Date: Wed, 17 Sep 2008 07:29:35 +0000 (-0400) Subject: Unionfs: remove redundant file-invariant check in file_revalidate X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=5a3809688356f2c18fd94706becf0a643b055bfa;p=unionfs-2.6.39.y.git Unionfs: remove redundant file-invariant check in file_revalidate Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c index e68bc5a6d2f..214ad86e481 100644 --- a/fs/unionfs/commonfops.c +++ b/fs/unionfs/commonfops.c @@ -387,8 +387,6 @@ out: if (err) { kfree(UNIONFS_F(file)->lower_files); kfree(UNIONFS_F(file)->saved_branch_ids); - } else { - unionfs_check_file(file); } return err; }