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 01:05:28 +0000 (20:05 -0500)
commitc495b94eef9722db90f370091a202c723c8c77a5
treed3b98bd947835377e20c73bbeb488554071fcf7f
parent2b928a9a06c4a74f4a4fb181fd210bc67e879182
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