]> err.no Git - linux-2.6/commit
[PATCH] Remove ->rq_status from struct request
authorJens Axboe <axboe@suse.de>
Fri, 28 Jul 2006 07:32:07 +0000 (09:32 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:29:23 +0000 (20:29 +0200)
commitcdd6026217c0e4cda2efce1bdc318661bef1f66f
treee26bb9c40b603b9cc321aa4217fecf34e1bc5f24
parent49171e5c6f414d49a061b5c1c84967c2eb569822
[PATCH] Remove ->rq_status from struct request

After Christophs SCSI change, the only usage left is RQ_ACTIVE
and RQ_INACTIVE. The block layer sets RQ_INACTIVE right before freeing
the request, so any check for RQ_INACTIVE in a driver is a bug and
indicates use-after-free.

So kill/clean the remaining users, straight forward.

Signed-off-by: Jens Axboe <axboe@suse.de>
12 files changed:
arch/um/drivers/ubd_kern.c
block/ll_rw_blk.c
drivers/block/paride/pd.c
drivers/block/swim3.c
drivers/block/swim_iop.c
drivers/fc4/fc.c
drivers/ide/ide-floppy.c
drivers/ide/ide-io.c
drivers/ide/ide-tape.c
drivers/scsi/ide-scsi.c
drivers/scsi/scsi.c
include/linux/blkdev.h