提交 b3960475 编写于 作者: B Benjamin Coddington 提交者: Trond Myklebust

pnfs/blocklayout: pnfs_block_dev_map uses bytes, not sectors

Fixup the field types to match their use.
Signed-off-by: NBenjamin Coddington <bcodding@redhat.com>
Signed-off-by: NTrond Myklebust <trondmy@gmail.com>
上级 535cb8f3
...@@ -92,10 +92,9 @@ struct pnfs_block_volume { ...@@ -92,10 +92,9 @@ struct pnfs_block_volume {
}; };
struct pnfs_block_dev_map { struct pnfs_block_dev_map {
sector_t start; u64 start;
sector_t len; u64 len;
u64 disk_offset;
sector_t disk_offset;
struct block_device *bdev; struct block_device *bdev;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册