git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fec08b
)
block: Warn and free bio if bi_end_io is not set
author
Muthukumar Ratty
<muthur@gmail.com>
Wed, 8 Jan 2014 16:39:49 +0000
(09:39 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 8 Jan 2014 16:39:49 +0000
(09:39 -0700)
In bio_endio if bio doesn't have bi_end_io (should be an error case),
we set bio to NULL and continue silently without freeing the bio. It
would be good to have a WARN and free the bio to avoid memory leak.
Signed-off-by: Muthukumar Ratty <muthur@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/bio.c
patch
|
blob
|
history
diff --cc
fs/bio.c
Simple merge