+3
−0
+2
−0
+4
−17
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>