Unionfs: ensure consistent lower inodes types
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 16 Feb 2008 01:33:54 +0000 (20:33 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 19 Jul 2008 03:22:52 +0000 (23:22 -0400)
commitdf07767f089d26ba84d3e667eb6bc5c071651632
tree1f221a9485060441ba7c2648c7028036d3d5f1f3
parent7f263ba0a38b4b1befefbaab7ba40ce1bf595acb
Unionfs: ensure consistent lower inodes types

When looking up a lower object in multiple branches, especially for
directories, ignore any existing entries whose type is different than the
type of the first found object (otherwise we'll be trying to, say, call
readdir on a non-dir inode).

Signed-off-by: Himanshu Kanda <hkanda@fsl.cs.sunysb.edu>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/lookup.c