diff options
-rw-r--r-- | include/linux/bio.h | 3 | ||||
-rw-r--r-- | include/linux/types.h | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 711c321a7011..092dbd0e7658 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
@@ -70,7 +70,8 @@ typedef void (bio_destructor_t) (struct bio *); | |||
70 | * stacking drivers) | 70 | * stacking drivers) |
71 | */ | 71 | */ |
72 | struct bio { | 72 | struct bio { |
73 | sector_t bi_sector; | 73 | sector_t bi_sector; /* device address in 512 byte |
74 | sectors */ | ||
74 | struct bio *bi_next; /* request queue link */ | 75 | struct bio *bi_next; /* request queue link */ |
75 | struct block_device *bi_bdev; | 76 | struct block_device *bi_bdev; |
76 | unsigned long bi_flags; /* status, command, etc */ | 77 | unsigned long bi_flags; /* status, command, etc */ |
diff --git a/include/linux/types.h b/include/linux/types.h index 406d4ae57631..750f085fa564 100644 --- a/include/linux/types.h +++ b/include/linux/types.h | |||
@@ -129,8 +129,12 @@ typedef __s64 int64_t; | |||
129 | /* this is a special 64bit data type that is 8-byte aligned */ | 129 | /* this is a special 64bit data type that is 8-byte aligned */ |
130 | #define aligned_u64 unsigned long long __attribute__((aligned(8))) | 130 | #define aligned_u64 unsigned long long __attribute__((aligned(8))) |
131 | 131 | ||
132 | /* | 132 | /** |
133 | * The type used for indexing onto a disc or disc partition. | 133 | * The type used for indexing onto a disc or disc partition. |
134 | * | ||
135 | * Linux always considers sectors to be 512 bytes long independently | ||
136 | * of the devices real block size. | ||
137 | * | ||
134 | * If required, asm/types.h can override it and define | 138 | * If required, asm/types.h can override it and define |
135 | * HAVE_SECTOR_T | 139 | * HAVE_SECTOR_T |
136 | */ | 140 | */ |