summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2018-01-25 15:36:25 +0100
committerTrond Myklebust <trondmy@gmail.com>2018-01-25 22:42:35 +0100
commitb39604755ce06389357b0c22d138c954f2e96451 (patch)
treef825949d094b6231e3e95fb858c533351cb081eb /fs
parentlockd: Fix server refcounting (diff)
downloadlinux-b39604755ce06389357b0c22d138c954f2e96451.tar.xz
linux-b39604755ce06389357b0c22d138c954f2e96451.zip
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')
-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;
};