diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2006-12-11 10:01:34 +0100 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-12-12 10:22:23 +0100 |
commit | 77d172ce2719b5ad2dc0637452c8871d9cba344c (patch) | |
tree | 4783e29d9e1cff21a91e8c7a9d5e32c6c1b06479 /fs/buffer.c | |
parent | 2b02a1792000900ead4638f4d42fcdd742062cfa (diff) |
[PATCH] fix SG_IO bio leak
This patch fixes bio leaks in SG_IO. rq->bio can be changed after io
completion, so we need to reset rq->bio before calling blk_rq_unmap_user()
http://marc.theaimsgroup.com/?l=linux-kernel&m=116570666807983&w=2
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions