Unionfs: revalidate files which are open but unlinked
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 23 Apr 2011 02:01:29 +0000 (22:01 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 16 Jun 2011 22:48:43 +0000 (15:48 -0700)
commit6e920636294f7e47b84574a7a6ea0cca25264b9f
treefa54eef3e3055096cfd66896f32b62240de8c86f
parent39e7999312401684505848ce740ba59234647024
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