When these members were first added, they were loff_t, but then later on
erroneously changed to sector_t/blkcnt_t.

The way they are used is still bogus and will be fixed in the follow-up
commit.

No functional change.

Fixes: 130fbc7f6c67 ("block: use 64-bit types for sector offset and count on 
all platforms")
Signed-off-by: Ahmad Fatoum <[email protected]>
---
 include/block.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/block.h b/include/block.h
index aeb8e990937b..fa916f8d4ee7 100644
--- a/include/block.h
+++ b/include/block.h
@@ -51,8 +51,8 @@ struct block_device {
        int rdbufsize;
        int blkmask;
 
-       sector_t discard_start;
-       blkcnt_t discard_size;
+       loff_t discard_start;
+       loff_t discard_size;
 
        struct list_head buffered_blocks;
        struct list_head idle_blocks;
-- 
2.47.3


Reply via email to