OSDN Git Service

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)
commit6aa21263e3a0594c2bd37eac784a0259e47dabbd
tree7de254b3e5fed2ea1f53a99cb0d56e22f1e9489d
parent2351f431f727223b4d82851ee8fc045bf51edd34
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