Unionfs: fixes to cache-coherency checking code
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 31 Jul 2007 07:33:24 +0000 (03:33 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 6 Mar 2011 08:42:37 +0000 (03:42 -0500)
commita3e4905240c6996c18f26492e06c9a98ef732a30
tree469aefcec60cf763824eb1d37e4f219ae81901c2
parentbe9543c0c48bb1228086689dd323b195e68ae99a
Unionfs: fixes to cache-coherency checking code

Under memory pressure, in_newer_lower could be called on uninitialized
dentries or inodes.  So return 0 safely in that case (rather than oops).
This is OK because is_newer_lower will be called again on the same object(s)
and cache-coherency will be validated and maintained then.

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