Unionfs: revalidate files which are open but unlinked
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:25:53 +0000 (19:25 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:25:53 +0000 (19:25 -0400)
commitdc841b71e32539230e1856b213dd63e3fce222ec
tree9a690ee6ff1117a59f631eb7a914e4a6c1ab8489
parenta65dcc68d8b8099b108ca168d63c86b9e8a8bbea
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