aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2018-01-25 09:36:25 -0500
committerTrond Myklebust <trondmy@gmail.com>2018-01-25 16:42:35 -0500
commitb39604755ce06389357b0c22d138c954f2e96451 (patch)
treef825949d094b6231e3e95fb858c533351cb081eb
parent535cb8f3193f2976f39371810dcad64ae2650771 (diff)
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>
-rw-r--r--fs/nfs/blocklayout/blocklayout.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/nfs/blocklayout/blocklayout.h b/fs/nfs/blocklayout/blocklayout.h
index efc007f00742..716bc75e9ed2 100644
--- a/fs/nfs/blocklayout/blocklayout.h
+++ b/fs/nfs/blocklayout/blocklayout.h
@@ -92,10 +92,9 @@ struct pnfs_block_volume {
92}; 92};
93 93
94struct pnfs_block_dev_map { 94struct pnfs_block_dev_map {
95 sector_t start; 95 u64 start;
96 sector_t len; 96 u64 len;
97 97 u64 disk_offset;
98 sector_t disk_offset;
99 struct block_device *bdev; 98 struct block_device *bdev;
100}; 99};
101 100