]> 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)
commitc61a45a775689e1779edbce0d85d0ad9d93aeca0
tree7de254b3e5fed2ea1f53a99cb0d56e22f1e9489d
parent2e4b890ace2ea70b02e4a71c415e38a149f69815
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