pnfs/blocklayout: pnfs_block_dev_map uses bytes, not sectors
authorBenjamin Coddington <bcodding@redhat.com>
Thu, 25 Jan 2018 14:36:25 +0000 (09:36 -0500)
committerTrond Myklebust <trondmy@gmail.com>
Thu, 25 Jan 2018 21:42:35 +0000 (16:42 -0500)
Fixup the field types to match their use.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trondmy@gmail.com>
fs/nfs/blocklayout/blocklayout.h

index efc007f007427c84bf0e56961b51f07073b78865..716bc75e9ed2a56613f5b4c7f58ad0458482eae2 100644 (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;
 };