diff options
author | zhangyi (F) <yi.zhang@huawei.com> | 2017-10-31 21:57:00 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-11-09 10:23:27 +0100 |
commit | 95e598e7ace2d89717cc3370c2126570667e2007 (patch) | |
tree | f11611e78df4ce99feba388f5dd8d60025d8070b /block/elevator.c | |
parent | ovl: no direct iteration for dir with origin xattr (diff) | |
download | linux-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