mirror of https://gitee.com/openkylin/linux.git
30c17ebfb2
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
copy_up.c | ||
dir.c | ||
inode.c | ||
overlayfs.h | ||
readdir.c | ||
super.c |