Searched hist:a2dec7b36364a5cc564c4d76cf16d2e7d33f5c05 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-map.c | diff a2dec7b36364a5cc564c4d76cf16d2e7d33f5c05 Thu May 07 08:24:44 CDT 2009 Tejun Heo <tj@kernel.org> block: hide request sector and data_len
Block low level drivers for some reason have been pretty good at abusing block layer API. Especially struct request's fields tend to get violated in all possible ways. Make it clear that low level drivers MUST NOT access or manipulate rq->sector and rq->data_len directly by prefixing them with double underscores.
This change is also necessary to break build of out-of-tree codes which assume the previous block API where internal fields can be manipulated and rq->data_len carries residual count on completion.
[ Impact: hide internal fields, block API change ]
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|
H A D | blk-merge.c | diff a2dec7b36364a5cc564c4d76cf16d2e7d33f5c05 Thu May 07 08:24:44 CDT 2009 Tejun Heo <tj@kernel.org> block: hide request sector and data_len
Block low level drivers for some reason have been pretty good at abusing block layer API. Especially struct request's fields tend to get violated in all possible ways. Make it clear that low level drivers MUST NOT access or manipulate rq->sector and rq->data_len directly by prefixing them with double underscores.
This change is also necessary to break build of out-of-tree codes which assume the previous block API where internal fields can be manipulated and rq->data_len carries residual count on completion.
[ Impact: hide internal fields, block API change ]
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|
H A D | blk-core.c | diff a2dec7b36364a5cc564c4d76cf16d2e7d33f5c05 Thu May 07 08:24:44 CDT 2009 Tejun Heo <tj@kernel.org> block: hide request sector and data_len
Block low level drivers for some reason have been pretty good at abusing block layer API. Especially struct request's fields tend to get violated in all possible ways. Make it clear that low level drivers MUST NOT access or manipulate rq->sector and rq->data_len directly by prefixing them with double underscores.
This change is also necessary to break build of out-of-tree codes which assume the previous block API where internal fields can be manipulated and rq->data_len carries residual count on completion.
[ Impact: hide internal fields, block API change ]
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|
/openbmc/linux/include/linux/ |
H A D | blkdev.h | diff a2dec7b36364a5cc564c4d76cf16d2e7d33f5c05 Thu May 07 08:24:44 CDT 2009 Tejun Heo <tj@kernel.org> block: hide request sector and data_len
Block low level drivers for some reason have been pretty good at abusing block layer API. Especially struct request's fields tend to get violated in all possible ways. Make it clear that low level drivers MUST NOT access or manipulate rq->sector and rq->data_len directly by prefixing them with double underscores.
This change is also necessary to break build of out-of-tree codes which assume the previous block API where internal fields can be manipulated and rq->data_len carries residual count on completion.
[ Impact: hide internal fields, block API change ]
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|