Commit 56d2a48f81a1bde827c625b90221fade72fe9c61
Committed by
Chris Mason
1 parent
21ca543efc
Exists in
master
and in
6 other branches
Btrfs: fix a potential btrfs_bio leak on scrub fixups
In case we were able to map less than we wanted (length < PAGE_SIZE clause is true) btrfs_bio is still allocated and we have to free it. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff