diff options
author | FUJITA Tomonori <[email protected]> | 2008-07-04 09:31:50 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2008-07-04 09:52:14 +0200 |
commit | 62858dacc8dea55c5bdb474ccd8acb0657e23dd0 (patch) | |
tree | d7678ade2e3e47b041b58fd5ea8ad02a4019ea88 /net/unix/sysctl_net_unix.c | |
parent | 30c00eda73d5db5bd64dd0c370161abd8df5ba4a (diff) |
scsi: sr avoids useless buffer allocation
blk_rq_map_kern can handle the stack buffers correctly (avoid DMA
from/to the stack buffers by using the bounce buffer) so we don't need
to complicate the code by allocating just 8 bytes.
Signed-off-by: FUJITA Tomonori <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions