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-Tag: unionfs-2.5~5 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=e2394cd4b97e1485a641eadc2ef99f1535c7cdf5;p=unionfs-2.6.30.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; }