Skip to content
Commit 005d6427 authored by David Sterba's avatar David Sterba Committed by Chris Mason
Browse files

btrfs: move transaction aborts to the point of failure



Call btrfs_abort_transaction as early as possible when an error
condition is detected, that way the line number reported is useful
and we're not clueless anymore which error path led to the abort.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
parent 8732d44f
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