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>
Fri, 12 Aug 2011 02:35:55 +0000 (22:35 -0400)
commit2b3a951deaa4c38ba24e6a5f4c987b5e737bb009
tree8da06c41eb36efea02f2fd37c751205f4330f09d
parent780c6e8c667c27d1b59ffd8668dfd2e0663c2530
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