summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2011-11-04 13:41:02 (GMT)
committerChris Mason <chris.mason@oracle.com>2011-11-06 08:11:29 (GMT)
commit56d2a48f81a1bde827c625b90221fade72fe9c61 (patch)
tree162de09347589bc3bf9bd40f2c2ad6e32283798b /fs/btrfs/extent_io.c
parent21ca543efc12674fddb22ddf4ea4906427f4e982 (diff)
downloadlinux-fsl-qoriq-56d2a48f81a1bde827c625b90221fade72fe9c61.tar.xz
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 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions