]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: replace sizeof(rq->cmd) with BLK_MAX_CDB
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 29 Apr 2008 12:37:52 +0000 (14:37 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 29 Apr 2008 12:48:55 +0000 (14:48 +0200)
commitd34c87e4ba3d1857f80a65179e81a18705a31656
tree6460d4a1de0c2e26ab9eed6babc916092eed4559
parente7b241a7715d2a0885f779f5baa63711d71b1d75
block: replace sizeof(rq->cmd) with BLK_MAX_CDB

This is a preparation for changing rq->cmd from the static array to a
pointer.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c
drivers/ide/ide-cd.c
drivers/ide/ide-cd_verbose.c