diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-22 22:05:20 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 01:37:36 -0400 |
commit | 731ec497e5888c6792ad62613ae9be97eebcd7ca (patch) | |
tree | 689a8442d8bdfd50ee6ab05b0c6acd0d229fe391 /include | |
parent | ec24751a6b57e1373a12361e581b2458bc9bb791 (diff) |
block: kill rq->data
Now that all block request data transfer is done via bio, rq->data
isn't used. Kill it.
While at it, make the roles of rq->special and buffer clear.
[ Impact: drop now unncessary field from struct request ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index cfeb3c2feb27..12c545e2737c 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -211,8 +211,8 @@ struct request { | |||
211 | 211 | ||
212 | unsigned short ioprio; | 212 | unsigned short ioprio; |
213 | 213 | ||
214 | void *special; | 214 | void *special; /* opaque pointer available for LLD use */ |
215 | char *buffer; | 215 | char *buffer; /* kaddr of the current segment if available */ |
216 | 216 | ||
217 | int tag; | 217 | int tag; |
218 | int errors; | 218 | int errors; |
@@ -229,7 +229,6 @@ struct request { | |||
229 | unsigned int data_len; | 229 | unsigned int data_len; |
230 | unsigned int extra_len; /* length of alignment and padding */ | 230 | unsigned int extra_len; /* length of alignment and padding */ |
231 | unsigned int sense_len; | 231 | unsigned int sense_len; |
232 | void *data; | ||
233 | void *sense; | 232 | void *sense; |
234 | 233 | ||
235 | unsigned long deadline; | 234 | unsigned long deadline; |