invariants: don't complain about directories with some NULL lower objects
authorErez_Zadok <ezk@cs.sunysb.edu>
Mon, 28 May 2007 23:42:20 +0000 (19:42 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 01:43:09 +0000 (20:43 -0500)
commit13292f3c3ae636a83da6ebc5a1da7c4fd5d3ba7b
tree9b6520e63ed13d03f4caaedcf3f75129192583a7
parent88faf4e1b82a11a09ee81d00a47f40bed4594f7a
invariants: don't complain about directories with some NULL lower objects

Directories can have NULL lower objects in between start/end, but NOT if at
the start/end range.  We cannot verify that this dentry is a type=DIR,
because it may already be a negative dentry.  But if dbstart is greater than
dbend, we know that this couldn't have been a regular file: it had to have
been a directory.  In that case, don't complain about NULL lower objects in
in between start/end.

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