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, 24 Nov 2013 05:54:56 +0000 (00:54 -0500)
commitb2cc8e63bcedde74ded178ebdd982a2fe12bf9c9
tree8a4e2856db7009c594d1eff645ffee07b72e8f6e
parent8c412d9fdce96ea7aac02b5ee2c2221454865ae3
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