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>
Sun, 24 Nov 2013 08:00:29 +0000 (03:00 -0500)
commit48c7bcc9039cb25be101019504e7c1e3aba6bf8b
treed8823bde4513511fcaa55d72bb329df5e58349ac
parent394efb071f9b3b258871f86c3964a84d9545a029
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