Skip to content
Commit 56e9f6ea authored by David Sterba's avatar David Sterba
Browse files

btrfs: merge unlocking to common exit block in btrfs_commit_transaction



The tree_log_mutex and reloc_mutex locks are properly nested so we can
simplify error handling and add labels for them. This reduces line count
of the function.

Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 15b6e8a8
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