diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-03-24 12:35:07 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-03-26 11:01:23 +0100 |
commit | 1cd96c242a829d52f7a5ae98f554ca9775429685 (patch) | |
tree | 018d3ab9fa0d6e2bcd739483ac2693f6f71db96b /arch/cris | |
parent | loop: fix circular locking in loop_clr_fd() (diff) | |
download | linux-1cd96c242a829d52f7a5ae98f554ca9775429685.tar.xz linux-1cd96c242a829d52f7a5ae98f554ca9775429685.zip |
block: WARN in __blk_put_request() for potential bio leak
Put a WARN_ON in __blk_put_request if it is about to
leak bio(s). This is a serious bug that can happen in error
handling code paths.
For this to work I have fixed a couple of places in block/ where
request->bio != NULL ownership was not honored. And a small cleanup
at sg_io() while at it.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions