aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2020-07-22 11:09:23 +0300
committerDavid Sterba <[email protected]>2020-10-07 12:12:15 +0200
commit44cab9ba374a0341e12c024f43a83e12ec4978fd (patch)
treef86c60a5f9bf60d4812c9dee233ae63372ec5622 /tools/perf/scripts/python/bin
parentf4cfa9bdd40c038ac901fbf3c57ab63e9e8eb949 (diff)
btrfs: refactor locked condition in btrfs_init_new_device
Invert unlocked to locked and exploit the fact it can only ever be modified if we are adding a new device to a seed filesystem. This allows to simplify the check in error: label. No semantics changes. Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions