Unionfs: revalidate files which are open but unlinked
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 30 Apr 2011 05:33:57 +0000 (01:33 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 24 Nov 2013 19:27:48 +0000 (14:27 -0500)
commitb1cd278d57a9b8499bb92cc24ca491740acc225d
tree97c30a49b6e8fe973de4b65c85eae0bee5c80dcd
parent3199a0f9f03e82d5d27b9e1242a776f6d241c5e5
Unionfs: revalidate files which are open but unlinked

Need to re-open the file if the starting dentry is on a higher priority
branch than the currently opened file (which could happen when we ftruncate
an opened, but unlinked file).

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