btrfs: fix free dip and dip->csums twice
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 22 Nov 2010 03:01:39 +0000 (03:01 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 22 Nov 2010 03:26:02 +0000 (22:26 -0500)
commit0c56fa9662927354255f2f64617d1de61fc03db9
treed3e4afe5596c6ac844b8f84fbb5cd89c9a8d0cf8
parent784b4e29a26617589edd290dd2919735e190c06e
btrfs: fix free dip and dip->csums twice

bio_endio() will free dip and dip->csums, so dip and dip->csums twice will
be freed twice. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c