aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGu Jinxiang <[email protected]>2018-07-12 14:23:15 +0800
committerDavid Sterba <[email protected]>2018-08-06 13:12:48 +0200
commitd64dcbd183abab251beb0fa0acd81a772a09887e (patch)
tree17a72314f3abfbde712f6c3712ca0d0deb8760bf /tools/perf/scripts/python
parent81ffd56b5745355b70d54ca4e1bdd0d64a66ff9f (diff)
btrfs: make fs_devices a local variable in btrfs_parse_early_options
fs_devices is always passed to btrfs_scan_one_device which overrides it. In the call stack below fs_devices is passed to btrfs_scan_one_device from btrfs_mount_root. In btrfs_mount_root the output fs_devices of this call stack is not used. btrfs_mount_root btrfs_parse_early_options btrfs_scan_one_device So, it is not necessary to pass fs_devices from btrfs_mount_root, using a local variable in btrfs_parse_early_options is enough. Signed-off-by: Gu Jinxiang <[email protected]> Reviewed-by: Anand Jain <[email protected]> Reviewed-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')
0 files changed, 0 insertions, 0 deletions