block: fix blk_queue_dma_pad comment
Subsystems (2)
PATCH 1/1 block: fix blk_queue_dma_pad comment
This is against Jens' for-2.6.26 branch.
==
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] block: fix blk_queue_dma_pad comment
rq->data_len is always equal to the true data length.
Signed-off-by FUJITA Tomonori <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Jens Axboe <[email protected]>
--- block/blk-settings.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
block/blk-settings.c +2 -3
@@ -299,9 +299,8 @@ EXPORT_SYMBOL(blk_queue_stack_limits);* * Set pad mask. Direct IO requests are padded to the mask specified. * -* Appending pad buffer to a request modifies ->data_len such that it -* includes the pad buffer. The original requested data length can be -* obtained using blk_rq_raw_data_len(). +* Appending pad buffer to a request modifies the last entry of a +* scatter list such that it includes the pad buffer. **/ void blk_queue_dma_pad (struct request_queue *q,unsigned int mask) {
Signature · 1 line
1.5.4.2