diff options
author | Daniel J Blueman <daniel.blueman@gmail.com> | 2011-03-09 16:46:42 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-03-10 11:21:49 -0500 |
commit | b4966b7770349deb05e3dd2bd2c65d2d044abbbb (patch) | |
tree | 79e281fde97b792eb732b5bde167c56939a6c67f /arch/arm/mach-s5pc100 | |
parent | ea8efc74bd0402b4d5f663d007b4e25fa29ea778 (diff) | |
download | lwn-b4966b7770349deb05e3dd2bd2c65d2d044abbbb.tar.gz lwn-b4966b7770349deb05e3dd2bd2c65d2d044abbbb.zip |
btrfs: fix dip leak
The btrfs DIO code leaks dip structs when dip->csums allocation
fails; bio->bi_end_io isn't set at the point where the free_ordered
branch is consequently taken, thus bio_endio doesn't call the function
which would free it in the normal case. Fix.
Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Acked-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'arch/arm/mach-s5pc100')
0 files changed, 0 insertions, 0 deletions