Skip to content
Commit 917c16b2 authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 45ea6095
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment