diff options
| author | FUJITA Tomonori <[email protected]> | 2010-07-22 09:36:51 +0900 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2010-07-28 09:06:05 -0500 |
| commit | caf19d38607108304cd8cc67ed21378017f69e8a (patch) | |
| tree | ae2730729cb88b30bdd90f692b18866dc8485b7a /tools/perf/scripts/python | |
| parent | 240778e821f596a6954116107c5cc3456df84f81 (diff) | |
[SCSI] sg: fix bio leak with a detached device
After blk_rq_map_user is successful, if we find that a device is
unavailable (was detached), we must call blk_end_request_all to free
bio(s) before blk_rq_unmap_user and blk_put_request.
Reported-by: "Dailey, Nate" <[email protected]>
Signed-off-by: FUJITA Tomonori <[email protected]>
Tested-by: "Dailey, Nate" <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions