1
0
Fork 0

pnfs/blocklayout: pnfs_block_dev_map uses bytes, not sectors

Fixup the field types to match their use.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trondmy@gmail.com>
hifive-unleashed-5.1
Benjamin Coddington 2018-01-25 09:36:25 -05:00 committed by Trond Myklebust
parent 535cb8f319
commit b39604755c
1 changed files with 3 additions and 4 deletions

View File

@ -92,10 +92,9 @@ struct pnfs_block_volume {
};
struct pnfs_block_dev_map {
sector_t start;
sector_t len;
sector_t disk_offset;
u64 start;
u64 len;
u64 disk_offset;
struct block_device *bdev;
};