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>
Wed, 1 Aug 2007 06:05:44 +0000 (02:05 -0400)
commita8959107ef9fcd76d03c5bb6be75464f1aeaf323
treeebf001ac4ddfb5ec268063f5f03bbefff86667b9
parentcaa33ec07e1bf0835817b436258b95a1b55e6833
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