diff options
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.c')
-rw-r--r-- | fs/xfs/xfs_alloc_btree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_alloc_btree.c b/fs/xfs/xfs_alloc_btree.c index 3916925e258..bcfe92f47ed 100644 --- a/fs/xfs/xfs_alloc_btree.c +++ b/fs/xfs/xfs_alloc_btree.c | |||
@@ -94,6 +94,8 @@ xfs_allocbt_alloc_block( | |||
94 | *stat = 0; | 94 | *stat = 0; |
95 | return 0; | 95 | return 0; |
96 | } | 96 | } |
97 | if (xfs_alloc_busy_search(cur->bc_mp, cur->bc_private.a.agno, bno, 1)) | ||
98 | xfs_trans_set_sync(cur->bc_tp); | ||
97 | 99 | ||
98 | xfs_trans_agbtree_delta(cur->bc_tp, 1); | 100 | xfs_trans_agbtree_delta(cur->bc_tp, 1); |
99 | new->s = cpu_to_be32(bno); | 101 | new->s = cpu_to_be32(bno); |