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, 30 Nov 2013 23:13:19 +0000 (18:13 -0500)
commit203f21b8db638f93ea3b3784ef5b608788a0d706
tree4c9ea79b15461e8a8ccf920eb555f4b0e6ffc427
parent4b37d5f9b1f14dd38dcbfdf5d2a1f80dd2dd18fd
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