Commit e84bfffc authored by David Sterba's avatar David Sterba
Browse files

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: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 41044b41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment