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, 23 Nov 2013 01:09:10 +0000 (20:09 -0500)
commit2e6156179830576ada6c84621fdbbe0b18486235
treefd646f1068bbd19129aa6da170c4144907c75ca4
parent670afedb7fa441ce8b2499a2390894887deb9614
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