From: Muthukumar Ratty Date: Wed, 8 Jan 2014 16:39:49 +0000 (-0700) Subject: block: Warn and free bio if bi_end_io is not set X-Git-Tag: v3.14-rc1~43^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95d4403889acbd98e06d41a255df76452210996a;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed