diff options
author | 2011-11-04 09:41:02 -0400 | |
---|---|---|
committer | 2011-11-06 03:11:29 -0500 | |
commit | 56d2a48f81a1bde827c625b90221fade72fe9c61 (patch) | |
tree | 162de09347589bc3bf9bd40f2c2ad6e32283798b /lib/mpi/mpi-bit.c | |
parent | Btrfs: rename btrfs_bio multi -> bbio for consistency (diff) | |
download | linux-dev-56d2a48f81a1bde827c625b90221fade72fe9c61.tar.xz linux-dev-56d2a48f81a1bde827c625b90221fade72fe9c61.zip |
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>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions