From: Charles Manning Date: Mon, 22 Nov 2010 04:40:21 +0000 (+1300) Subject: yaffs direct: Fix ENOTDIR/ENOTENT misunderstanding X-Git-Tag: linux-mainline-patchset-4~68 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=844e250e5a2220f99a37ed520d2421736961e96f;hp=844e250e5a2220f99a37ed520d2421736961e96f yaffs direct: Fix ENOTDIR/ENOTENT misunderstanding ENOTDIR was being returned if a directory part of the path was not found. This should return ENOENT. ENOTDIR should be returned if an item in a path that should be a directory is actually something else (eg. a file). Signed-off-by: Charles Manning ---