Unionfs: branch-management bugfix to unionfs_file_revalidate
authorErez_Zadok <ezk@cs.sunysb.edu>
Sat, 21 Jul 2007 06:38:14 +0000 (02:38 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 02:32:35 +0000 (21:32 -0500)
commit5b19c4fb8bec9816f812e88e7420970e0a2dc68b
treeb6831ef52477327c537ed93bfbf9cbdc0d60b3c3
parent6fc0b1ef47a9891d32d5841bbc56b4db2faf135b
Unionfs: branch-management bugfix to unionfs_file_revalidate

If we re-opened the file on a different branch than the original one, and
only if this was due to a new branch inserted, then update the mnt counts of
the old and new branches accordingly.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c