diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-07-29 12:05:25 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-07-29 12:05:25 +0200 |
commit | 30c17ebfb2a11468fe825de19afa3934ee98bfd2 (patch) | |
tree | 231bafeafebab56786642d36526782dbe42f49e4 /scripts/adjust_autoksyms.sh | |
parent | 29c42e80ba5b1e59a4f427b44e2bdebd347b9409 (diff) |
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>
Diffstat (limited to 'scripts/adjust_autoksyms.sh')
0 files changed, 0 insertions, 0 deletions