summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorMuthukumar Ratty <muthur@gmail.com>2014-01-08 09:39:49 -0700
committerJens Axboe <axboe@kernel.dk>2014-01-08 09:39:49 -0700
commit95d4403889acbd98e06d41a255df76452210996a (patch)
tree00d606520db8f3ddc6071653caf05f8a7bc52f56 /fs/f2fs
parent0fec08b4ecfc36fd8a64432343b2964fb86d2675 (diff)
downloadlinux-next-95d4403889acbd98e06d41a255df76452210996a.tar.gz
block: Warn and free bio if bi_end_io is not set
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>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions