diff options
author | David Sterba <dsterba@suse.com> | 2024-01-24 23:24:03 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:49 +0100 |
commit | e84bfffc4bbff4f2cf292e270d6654fe43efd29f (patch) | |
tree | 79044b6974e5dbdc37a36dd9473e4230a4837824 /fs/btrfs/dev-replace.h | |
parent | btrfs: add helper to get fs_info from struct inode pointer (diff) | |
download | linux-e84bfffc4bbff4f2cf292e270d6654fe43efd29f.tar.xz linux-e84bfffc4bbff4f2cf292e270d6654fe43efd29f.zip |
btrfs: hoist fs_info out of loops in end_bbio_data_write and end_bbio_data_read
The fs_info and sectorsize remain the same during the loops, no need to
set them on each iteration.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.h')
0 files changed, 0 insertions, 0 deletions