diff options
author | Tobin C. Harding <me@tobin.cc> | 2018-02-19 01:03:37 +0100 |
---|---|---|
committer | Tobin C. Harding <me@tobin.cc> | 2018-04-07 00:50:34 +0200 |
commit | b401f56f33bf551304cc4ca4f503863ee6ac7787 (patch) | |
tree | 810a69ac53bb627f7d90309af2656be976d593fa /fs/sync.c | |
parent | leaking_addresses: do not parse binary files (diff) | |
download | linux-b401f56f33bf551304cc4ca4f503863ee6ac7787.tar.xz linux-b401f56f33bf551304cc4ca4f503863ee6ac7787.zip |
leaking_addresses: simplify path skipping
Currently script has multiple configuration arrays. This is confusing,
evident by the fact that a bunch of the entries are in the wrong place.
We can simplify the code by just having a single array for absolute
paths to skip and a single array for file names to skip wherever they
appear in the scanned directory tree. There are also currently multiple
subroutines to handle the different arrays, we can reduce these to a
single subroutine also.
Simplify the path skipping code.
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions