From: Chris Mason Date: Tue, 8 Nov 2011 19:49:59 +0000 (-0500) Subject: Btrfs: fix oops on NULL trans handle in btrfs_truncate X-Git-Tag: v3.2-rc2~22^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=917c16b2b69fc2eeb432eabca73258f08c58361e;p=pandora-kernel.git Btrfs: fix oops on NULL trans handle in btrfs_truncate If we fail to reserve space in the transaction during truncate, we can error out with a NULL trans handle. The cleanup code needs an extra check to make sure we aren't trying to use the bad handle. Signed-off-by: Chris Mason --- Reading git-diff-tree failed