btrfs: scrub: use fs_info::sectorsize and drop it from scrub context
authorDavid Sterba <dsterba@suse.com>
Tue, 16 May 2017 17:10:41 +0000 (19:10 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:01 +0000 (18:26 +0200)
commit25cc1226c121ae4e5c9a1525eda4ddada7f47a00
tree14a6e163dc4cc8131c8eee5db93f23d4e4387185
parent04a87e3472828f769a93655d7c64a27573bdbc2c
btrfs: scrub: use fs_info::sectorsize and drop it from scrub context

As we now have the node/block sizes in fs_info, we can use them and can
drop the local copies.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c