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, 1 Dec 2013 00:53:57 +0000 (19:53 -0500)
commit67eddcbb98cff33177c9e397e7d7b0750174a435
tree26f92babbf2d146c28fd3fb6975e052fba96488c
parent3f85b167b78ad7af92da2659142866483973b4ed
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