__data_len and __sector are internal fields which should not be accessed directly in driver-level like the comment above it. But, tag field can be accessed by driver level directly so that we need to make the comment right by moving it to some other place.
Unified · Split
| @@ -137,11 +137,11 @@ struct request { · 136 unmodified lines | |||
| 137 | unsigned int cmd_flags; /* op and common flags */ | 137 | unsigned int cmd_flags; /* op and common flags */ |
| 138 | req_flags_t rq_flags; | 138 | req_flags_t rq_flags; |
| 139 | 139 | ||
| 140 | int tag; | ||
| 140 | int internal_tag; | 141 | int internal_tag; |
| 141 | 142 | ||
| 142 | /* the following two fields are internal, NEVER access directly */ | 143 | /* the following two fields are internal, NEVER access directly */ |
| 143 | unsigned int __data_len; /* total data len */ | 144 | unsigned int __data_len; /* total data len */ |
| 144 | int tag; | ||
| 145 | sector_t __sector; /* sector cursor */ | 145 | sector_t __sector; /* sector cursor */ |
| 146 | 146 | ||
| 147 | struct bio *bio; | 147 | struct bio *bio; |