btrfs: Free checksum list on scrub_extent() fail
authorZhao Lei <zhaolei@cn.fujitsu.com>
Tue, 21 Jul 2015 04:22:30 +0000 (12:22 +0800)
committerChris Mason <clm@fb.com>
Sun, 9 Aug 2015 14:07:11 +0000 (07:07 -0700)
commit6fa96d72f79a15579da2bb63c65cafb210915b48
tree0be37a5ff841728c3668a90fb0825bcfdd1f7951
parentf2f66a2f886383fb76aca8ecc1bcc116c5d1f6fe
btrfs: Free checksum list on scrub_extent() fail

When scrub_extent() failed, we need to free previois created
checksum list.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c