Unionfs: cache coherency after lower objects are removed
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 11 Sep 2007 00:19:29 +0000 (20:19 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 18 Oct 2007 18:11:13 +0000 (14:11 -0400)
commit4ad387a1aef2c8aa100a798e8fc602b4b7f32d1a
treee9900af17c3c701daca465ecc36b5b935e794453
parent36ca0aed5aa7cb7f9cdff5178f76590063f7f552
Unionfs: cache coherency after lower objects are removed

Prevent an oops if a lower file is deleted and then it is stat'ed from the
upper layer.  Ensure that we return a negative dentry so the user will get
an ENOENT.  Properly dput/mntput so we don't leak references at the lower
file system.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/lookup.c