linux/fs/overlayfs
Miklos Szeredi 09e10322b7 ovl: lookup ENAMETOOLONG on lower means ENOENT
"Suppose you have in one of the lower layers a filesystem with
->lookup()-enforced upper limit on name length.  Pretty much every local fs
has one, but... they are not all equal.  255 characters is the common upper
limit, but e.g. jffs2 stops at 254, minixfs upper limit is somewhere from
14 to 60, depending upon version, etc.  You are doing a lookup for
something that is present in upper layer, but happens to be too long for
one of the lower layers.  Too bad - ENAMETOOLONG for you..."

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2014-12-13 00:59:45 +01:00
..
copy_up.c ovl: make path-type a bitmap 2014-12-13 00:59:42 +01:00
dir.c ovl: dont replace opaque dir 2014-12-13 00:59:43 +01:00
inode.c ovl: make path-type a bitmap 2014-12-13 00:59:42 +01:00
Kconfig ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
Makefile ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
overlayfs.h ovl: helper to iterate layers 2014-12-13 00:59:43 +01:00
readdir.c ovl: check whiteout on lowest layer as well 2014-12-13 00:59:45 +01:00
super.c ovl: lookup ENAMETOOLONG on lower means ENOENT 2014-12-13 00:59:45 +01:00