diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2020-02-11 18:10:19 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 19:01:43 +0300 |
commit | 831fa14f1ef0bfa9740b4e939da3263dc60502e3 (patch) | |
tree | 5432cbecf6c159472cdc32ec61aafe9a5db19517 /Documentation/networking/timestamping.txt | |
parent | 949964c928430a42e0d4f514d888a58a201b6fcb (diff) | |
download | linux-831fa14f1ef0bfa9740b4e939da3263dc60502e3.tar.xz |
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 'Documentation/networking/timestamping.txt')
0 files changed, 0 insertions, 0 deletions