summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/cdrom.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-04-29 09:54:35 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-04-29 14:48:54 +0200
commit4917fa292558593d36b2880977ea206f7727dbe5 (patch)
tree5ef03fba3ca3f3b1f615e9d558f7138619787d3a /drivers/cdrom/cdrom.c
parentblock/blk-barrier.c:blk_ordered_cur_seq() mustn't be inline (diff)
downloadlinux-4917fa292558593d36b2880977ea206f7727dbe5.tar.xz
linux-4917fa292558593d36b2880977ea206f7727dbe5.zip
block: no need to initialize rq->cmd in prepare_flush_fn hook
The block layer initializes rq->cmd (queue_flush calls rq_init) so prepare_flush_fn hooks don't need to do that. The purpose of this patch is to remove sizeof(rq->cmd), as a preparation for large command support, which changes rq->cmd from the static array to a pointer. sizeof(rq->cmd) will not make sense. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/cdrom/cdrom.c')
0 files changed, 0 insertions, 0 deletions