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>
Tue, 11 Nov 2014 02:47:43 +0000 (21:47 -0500)
commit4fb1f7234d2921ca35093e4dd035b94cab73a265
tree360162bc218e4d6404a4e7084e3b1d774750ce16
parent80e61bdbbc0aa70651d58e0ccffc3295d040e245
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