diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2018-01-25 17:36:25 +0300 |
---|---|---|
committer | Trond Myklebust <trondmy@gmail.com> | 2018-01-26 00:42:35 +0300 |
commit | b39604755ce06389357b0c22d138c954f2e96451 (patch) | |
tree | f825949d094b6231e3e95fb858c533351cb081eb /fs/nfs/blocklayout | |
parent | 535cb8f3193f2976f39371810dcad64ae2650771 (diff) | |
download | linux-b39604755ce06389357b0c22d138c954f2e96451.tar.xz |
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/blocklayout')
-rw-r--r-- | fs/nfs/blocklayout/blocklayout.h | 7 |
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; }; |