summaryrefslogtreecommitdiffstats
path: root/block/elevator.c
diff options
context:
space:
mode:
authorzhangyi (F) <yi.zhang@huawei.com>2017-10-31 21:57:00 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2017-11-09 10:23:27 +0100
commit95e598e7ace2d89717cc3370c2126570667e2007 (patch)
treef11611e78df4ce99feba388f5dd8d60025d8070b /block/elevator.c
parentovl: no direct iteration for dir with origin xattr (diff)
downloadlinux-95e598e7ace2d89717cc3370c2126570667e2007.tar.xz
linux-95e598e7ace2d89717cc3370c2126570667e2007.zip
ovl: simplify ovl_check_empty_and_clear()
Filter out non-whiteout non-upper entries from list of merge dir entries while checking if merge dir is empty in ovl_check_empty_dir(). The remaining work for ovl_clear_empty() is to clear all entries on the list. [amir: split patch from rmdir bug fix] Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions