linux/fs/overlayfs
Miklos Szeredi 30c17ebfb2 ovl: simplify empty checking
The empty checking logic is duplicated in ovl_check_empty_and_clear() and
ovl_remove_and_whiteout(), except the condition for clearing whiteouts is
different:

ovl_check_empty_and_clear() checked for being upper

ovl_remove_and_whiteout() checked for merge OR lower

Move the intersection of those checks (upper AND merge) into
ovl_check_empty_and_clear() and simplify ovl_remove_and_whiteout().

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2016-07-29 12:05:25 +02:00
..
copy_up.c ovl: store real inode pointer in ->i_private 2016-07-29 12:05:24 +02:00
dir.c ovl: simplify empty checking 2016-07-29 12:05:25 +02:00
inode.c ovl: append MAY_READ when diluting write checks 2016-07-29 12:05:24 +02: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: fix POSIX ACL setting 2016-07-29 12:05:24 +02:00
readdir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-05-27 17:14:05 -07:00
super.c qstr: constify instances in overlayfs 2016-07-29 12:05:24 +02:00