Skip to content
Commit d280e5be authored by Liu Bo's avatar Liu Bo Committed by Chris Mason
Browse files

Btrfs: fix ordered extent leak when failing to start a transaction



We cannot just return error before freeing ordered extent and releasing reserved
space when we fail to start a transacion.

Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 24c03fa5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment