projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535cb8f
)
pnfs/blocklayout: pnfs_block_dev_map uses bytes, not sectors
author
Benjamin Coddington
<bcodding@redhat.com>
Thu, 25 Jan 2018 14:36:25 +0000
(09:36 -0500)
committer
Trond 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
patch
|
blob
|
history
diff --git
a/fs/nfs/blocklayout/blocklayout.h
b/fs/nfs/blocklayout/blocklayout.h
index efc007f007427c84bf0e56961b51f07073b78865..716bc75e9ed2a56613f5b4c7f58ad0458482eae2 100644
(file)
--- 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;
};