[PATCH] bio: fix leak in failure case in bio_copy_user()
There's a leak in the error case in bio_copy_user(). If we fail allocating a page or adding a page to the bio, we will leak the bio map data. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment