commit | 95e598e7ace2d89717cc3370c2126570667e2007 | [log] [tgz] |
---|---|---|
author | zhangyi (F) <yi.zhang@huawei.com> | Tue Oct 31 22:57:00 2017 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Nov 09 10:23:27 2017 +0100 |
tree | f11611e78df4ce99feba388f5dd8d60025d8070b | |
parent | b79e05aaa166755fafbf02db275175edb5175df8 [diff] |
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>