summaryrefslogtreecommitdiffstats
path: root/fs/nfs
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 /fs/nfs
parent535cb8f3193f2976f39371810dcad64ae2650771 (diff)
downloadlinux-b39604755ce06389357b0c22d138c954f2e96451.tar.bz2
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>
Diffstat (limited to 'fs/nfs')
-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 {
};
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;
};