bsg: setting rq->bio to NULL
FUJITA Tomonori authored
Due to commit 1cd96c24

 ("block: WARN
in __blk_put_request() for potential bio leak"), BSG SMP requests get
the false warnings:

WARNING: at block/blk-core.c:1068 __blk_put_request+0x52/0xc0()

This sets rq->bio to NULL to avoid that false warnings.
Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
c1d4c41f
Name Last commit Last update
..
Kconfig tracing/blktrace: move the tracing file to kernel/trace
Kconfig.iosched update I/O sched Kconfig help texts - CFQ is now default, not AS.
Makefile tracing/blktrace: move the tracing file to kernel/trace
as-iosched.c as-iosched: get rid of private REQ_SYNC/REQ_ASYNC defines
blk-barrier.c block: Remove code handling bio_alloc failure with __GFP_WAIT
blk-core.c block: fix the bio_vec array index out-of-bounds test
blk-exec.c Add some block/ source files to the kernel-api docbook. Fix kernel-doc notation in them as needed. Fix changed function parameter names. Fix typos/spellos. In comments, change REQ_SPECIAL to REQ_TYPE_SPECIAL and REQ_BLOCK_PC to REQ_TYPE_BLOCK_PC.
blk-integrity.c block: Allow empty integrity profile
blk-ioc.c cfq-iosched: fix RCU race in the cfq io_context destructor handling
blk-map.c [SCSI] block: make blk_rq_map_user take a NULL user-space buffer for WRITE
blk-merge.c block: simplify I/O stat accounting
blk-settings.c block: fix queue bounce limit setting
blk-softirq.c generic-ipi: remove CSD_FLAG_WAIT
blk-sysfs.c block: simplify I/O stat accounting
blk-tag.c block/blk-tag.c: cleanup kernel-doc
blk-timeout.c block: fix intermittent dm timeout based oops
blk.h block: simplify I/O stat accounting
bsg.c bsg: setting rq->bio to NULL
cfq-iosched.c cfq-iosched: cache prio_tree root in cfqq->p_root
cmd-filter.c [SCSI] Make scsi.h independent of the rest of the scsi includes
compat_ioctl.c block: don't take lock on changing ra_pages
deadline-iosched.c block: get rid of elevator_t typedef
elevator.c block: fix bad spelling of quiesce
genhd.c block: include empty disks in /proc/diskstats
ioctl.c block: Remove code handling bio_alloc failure with __GFP_WAIT
noop-iosched.c
scsi_ioctl.c