Searched refs:prev_trans (Results 1 – 1 of 1) sorted by relevance
1954 struct btrfs_transaction *prev_trans = NULL; in btrfs_commit_transaction() local2053 prev_trans = list_entry(cur_trans->list.prev, in btrfs_commit_transaction()2055 if (prev_trans->state != TRANS_STATE_COMPLETED) { in btrfs_commit_transaction()2056 refcount_inc(&prev_trans->use_count); in btrfs_commit_transaction()2059 wait_for_commit(prev_trans); in btrfs_commit_transaction()2060 ret = prev_trans->aborted; in btrfs_commit_transaction()2062 btrfs_put_transaction(prev_trans); in btrfs_commit_transaction()