diff options
author | 2020-02-12 00:10:19 +0900 | |
---|---|---|
committer | 2020-03-23 17:01:43 +0100 | |
commit | 831fa14f1ef0bfa9740b4e939da3263dc60502e3 (patch) | |
tree | 5432cbecf6c159472cdc32ec61aafe9a5db19517 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: add new BTRFS_IOC_SNAP_DESTROY_V2 ioctl (diff) | |
download | linux-dev-831fa14f1ef0bfa9740b4e939da3263dc60502e3.tar.xz linux-dev-831fa14f1ef0bfa9740b4e939da3263dc60502e3.zip |
btrfs: use inode from io_ctl in io_ctl_prepare_pages
io_ctl_prepare_pages() gets a 'struct btrfs_io_ctl' as well as a 'struct
inode', but btrfs_io_ctl::inode points to the same struct inode as this is
assgined in io_ctl_init().
Use the inode form io_ctl to reduce the arguments of io_ctl_prepare_pages.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.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