Searched refs:tree_log_mutex (Results 1 – 4 of 4) sorted by relevance
2564 * setting fs_info->running_transaction to NULL, lock tree_log_mutex to in btrfs_commit_transaction() 2570 mutex_lock(&fs_info->tree_log_mutex); in btrfs_commit_transaction() 2599 * Abort before releasing tree_log_mutex, so a log sync waiting in btrfs_commit_transaction() 2604 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_commit_transaction() 2613 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
622 struct mutex tree_log_mutex; member
3532 mutex_lock(&fs_info->tree_log_mutex); in btrfs_sync_log()3546 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_sync_log()3553 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_sync_log()
2884 mutex_init(&fs_info->tree_log_mutex); in btrfs_init_fs_info()