commit | 56d2a48f81a1bde827c625b90221fade72fe9c61 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Fri Nov 04 09:41:02 2011 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Sun Nov 06 03:11:29 2011 -0500 |
tree | 162de09347589bc3bf9bd40f2c2ad6e32283798b | |
parent | 21ca543efc12674fddb22ddf4ea4906427f4e982 [diff] |
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>