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>
Tue, 11 Nov 2014 02:39:13 +0000 (21:39 -0500)
commit70094884517e429f15477747cb8cced0ec7d6e19
treee07ddb27a951696b3b730de358a6acf7f8e8e94d
parentd7f2bc7cac7f0203efe3268a2ff07a39a9b8170e
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