transaction.c (7892b5afe4a1a00af25107e27357db30434ab876) transaction.c (c6b305a89b1903d63652691ad5eb9f05aa0326b8)
1/*
2 * Copyright (C) 2007 Oracle. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 371 unchanged lines hidden (view full) ---

380 h->use_count = 1;
381 h->adding_csums = 0;
382 h->block_rsv = NULL;
383 h->orig_rsv = NULL;
384 h->aborted = 0;
385 h->qgroup_reserved = qgroup_reserved;
386 h->delayed_ref_elem.seq = 0;
387 h->type = type;
1/*
2 * Copyright (C) 2007 Oracle. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

--- 371 unchanged lines hidden (view full) ---

380 h->use_count = 1;
381 h->adding_csums = 0;
382 h->block_rsv = NULL;
383 h->orig_rsv = NULL;
384 h->aborted = 0;
385 h->qgroup_reserved = qgroup_reserved;
386 h->delayed_ref_elem.seq = 0;
387 h->type = type;
388 h->allocating_chunk = false;
388 INIT_LIST_HEAD(&h->qgroup_ref_list);
389 INIT_LIST_HEAD(&h->new_bgs);
390
391 smp_mb();
392 if (cur_trans->blocked && may_wait_transaction(root, type)) {
393 btrfs_commit_transaction(h, root);
394 goto again;
395 }

--- 1415 unchanged lines hidden ---
389 INIT_LIST_HEAD(&h->qgroup_ref_list);
390 INIT_LIST_HEAD(&h->new_bgs);
391
392 smp_mb();
393 if (cur_trans->blocked && may_wait_transaction(root, type)) {
394 btrfs_commit_transaction(h, root);
395 goto again;
396 }

--- 1415 unchanged lines hidden ---