Unionfs: ensure consistent lower inodes types
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 15 Feb 2008 22:18:48 +0000 (17:18 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:21:30 +0000 (19:21 -0400)
commit751b56ec37ceb6fef517db07dbf79fb68736b458
tree7fbb28e08c61a1bc0458b88a0c18455355ec4ebc
parentb403c560dad1362374d84c0be44ec804b9fb5108
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