Skip to content
Commit 7b8b92af authored by Josef Bacik's avatar Josef Bacik Committed by Chris Mason
Browse files

Btrfs: abort the transaction if the commit fails



If a transaction commit fails we don't abort it so we don't set an error on
the file system.  This patch fixes that by actually calling the abort stuff
and then adding a check for a fs error in the transaction start stuff to
make sure it is caught properly.  Thanks,

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
parent d7096fc3
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