Skip to content
Commit 24562425 authored by Yan Zheng's avatar Yan Zheng Committed by Chris Mason
Browse files

Btrfs: hold trans_mutex when using btrfs_record_root_in_trans



btrfs_record_root_in_trans needs the trans_mutex held to make sure two
callers don't race to setup the root in a given transaction.  This adds
it to all the places that were missing it.

Signed-off-by: default avatarYan Zheng <zheng.yan@oracle.com>
parent 4008c04a
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