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>
Tue, 11 Nov 2014 02:42:33 +0000 (21:42 -0500)
commit0bb5de8009ab40d041671728fcf5ebf7059e3a5f
tree9c1ee915d8782226a8bd9e4dcb229edc7b934bc7
parent9190cc3fddb96191f6a24b66817dfd896839a4c5
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