]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: scrub: get rid of sector_t
authorDavid Sterba <dsterba@suse.com>
Wed, 4 Oct 2017 15:07:07 +0000 (17:07 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:28:00 +0000 (12:28 +0100)
commitad77bbc69921aa4e8640647020e10e79b66a3c76
tree7de254b3e5fed2ea1f53a99cb0d56e22f1e9489d
parent26ed8b40ab6aff2a262bb2bcb52553f6b82b3c34
btrfs: scrub: get rid of sector_t

The use of sector_t is not necessry, it's just for a warning.  Switch to
u64 and rename the variable and use byte units instead of 512b, ie.
dropping the >> 9 shifts.  The messages are adjusted as well.

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