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 18:38:04 +0000 (13:38 -0500)
commit216e4ac1f4b89236381dcabc0bfeac05d0db78ea
tree9ec7599997ae9355df956dbde304a14f8e1a92fe
parent9c1b0ce0b4277f16c762cba59ee83440407e53ba
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