summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-05-29 14:10:20 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:46 +0200
commit9c6d173ea6e4c8c939ae6c257c7fc18f7b320316 (patch)
tree01f0adb7bd6b05422d6c079e15feccc38a437bb2 /tools/perf/scripts/python/export-to-sqlite.py
parent4306a97449f9a0f9e5229af7889d4401315355aa (diff)
btrfs: extend locked section when adding a new device in device_list_add
Make sure the device_list_lock is held the whole time: * when the device is being looked up * new device is initialized and put to the list * the list counters are updated (fs_devices::opened, fs_devices::total_devices) Signed-off-by: Anand Jain <anand.jain@oracle.com> [ update changelog ] Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions