btrfs: fix memory leak during RAID 5/6 device replacement
authorScott Talbert <scott.talbert@hgst.com>
Mon, 9 May 2016 13:14:28 +0000 (09:14 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2016 08:17:58 +0000 (10:17 +0200)
commit4673272f43ae790ab9ec04e38a7542f82bb8f020
tree136c03e4be575e4466ef9df119b8debdf768a56a
parent2c1984f244838477aab4e5882f4479491ae1084a
btrfs: fix memory leak during RAID 5/6 device replacement

A 'struct bio' is allocated in scrub_missing_raid56_pages(), but it was never
freed anywhere.

Signed-off-by: Scott Talbert <scott.talbert@hgst.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c