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, 27 Apr 2014 02:28:01 +0000 (22:28 -0400)
commitef8864819a1c1bc4e57ff55a4b5ed13a6e97b31d
tree453efaeb2d4ed4586b3747fc57b9539f492c545b
parentefa71fcbaf8ba5bb02b17ef0f6b4943014cd5a72
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