Skip to content

Commit b396047

Browse files
bcodding-rhtrondmy
authored andcommitted
pnfs/blocklayout: pnfs_block_dev_map uses bytes, not sectors
Fixup the field types to match their use. Signed-off-by: Benjamin Coddington <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
1 parent 535cb8f commit b396047

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

fs/nfs/blocklayout/blocklayout.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,9 @@ struct pnfs_block_volume {
9292
};
9393

9494
struct pnfs_block_dev_map {
95-
sector_t start;
96-
sector_t len;
97-
98-
sector_t disk_offset;
95+
u64 start;
96+
u64 len;
97+
u64 disk_offset;
9998
struct block_device *bdev;
10099
};
101100

0 commit comments

Comments
 (0)