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>
Sat, 16 Aug 2014 02:31:16 +0000 (22:31 -0400)
commit0b3a5d0e3c662b012322c8c4cb679d47ea8701c5
tree8888f7ff02795b81c88fbb47236d76caf25a56cd
parent2b70a1f9ba8e2b5cc4a0facd3ede9dca7fe3a490
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