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 16:07:15 +0000 (11:07 -0500)
commit81bf8fae0538dd3b087a8fb5240d0162ae85b916
treed7263c834a1e8e3820d1d652f33c2232ed839abb
parent81022e14d3d07f23513d1e9565a2cc2ec99b7e7d
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