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>
Tue, 11 Nov 2014 02:42:06 +0000 (21:42 -0500)
commitdf00f4fa2633aeb2f0393124b5bb870073a54122
treee16fc1192988e7cc8bc6126e92d683c61f7682c2
parentf5d14fa91fca57a255aa7bcfa3c3a9befb7f64f1
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