Unionfs: remove redundant file-invariant check in file_revalidate
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 23:26:55 +0000 (19:26 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 23:26:55 +0000 (19:26 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c

index c0df68d89d477cab2b980df0fa8bc685568284a6..92d207ec884d196d2b3c19551b7c5bb9afbb6dcb 100644 (file)
@@ -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;
 }