]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix memory leak in raid56
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 22 Sep 2017 18:11:18 +0000 (12:11 -0600)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:57 +0000 (12:27 +0100)
commit90cc1a00e244015f1443dee002d9a6fc19978305
tree1fe2d1d15d5ead3a3544574bf2134dde25bf432b
parente73d8b3be8302ff7e442a5defea3874bcae703c6
Btrfs: fix memory leak in raid56

The local bio_list may have pending bios when doing cleanup, it can
end up with memory leak if they don't get freed.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c