aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/suballoc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c
index e5403acdb3f5..5852a46647a2 100644
--- a/fs/ocfs2/suballoc.c
+++ b/fs/ocfs2/suballoc.c
@@ -606,6 +606,14 @@ ocfs2_block_group_alloc_discontig(handle_t *handle,
606 goto bail; 606 goto bail;
607 } 607 }
608 608
609 /*
610 * We're going to be grabbing from multiple cluster groups.
611 * We don't have enough credits to relink them all, and the
612 * cluster groups will be staying in cache for the duration of
613 * this operation.
614 */
615 ac->ac_allow_chain_relink = 0;
616
609 /* Claim the first region */ 617 /* Claim the first region */
610 status = ocfs2_block_group_claim_bits(osb, handle, ac, min_bits, 618 status = ocfs2_block_group_claim_bits(osb, handle, ac, min_bits,
611 &bit_off, &num_bits); 619 &bit_off, &num_bits);