aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-07-22 11:09:23 +0300
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:12:15 +0200
commit44cab9ba374a0341e12c024f43a83e12ec4978fd (patch)
treef86c60a5f9bf60d4812c9dee233ae63372ec5622 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: use RCU for quick device check in btrfs_init_new_device (diff)
downloadlinux-44cab9ba374a0341e12c024f43a83e12ec4978fd.tar.gz
linux-44cab9ba374a0341e12c024f43a83e12ec4978fd.zip
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 <anand.jain@oracle.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions