diff options
author | 2016-07-29 12:05:25 +0200 | |
---|---|---|
committer | 2016-07-29 12:05:25 +0200 | |
commit | 30c17ebfb2a11468fe825de19afa3934ee98bfd2 (patch) | |
tree | 231bafeafebab56786642d36526782dbe42f49e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qstr: constify instances in overlayfs (diff) | |
download | wireguard-linux-30c17ebfb2a11468fe825de19afa3934ee98bfd2.tar.xz wireguard-linux-30c17ebfb2a11468fe825de19afa3934ee98bfd2.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions