aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/localalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/localalloc.c')
-rw-r--r--fs/ocfs2/localalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c
index ab83fd562429..b6d07198118c 100644
--- a/fs/ocfs2/localalloc.c
+++ b/fs/ocfs2/localalloc.c
@@ -523,6 +523,8 @@ int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
523 } 523 }
524 524
525 ac->ac_inode = local_alloc_inode; 525 ac->ac_inode = local_alloc_inode;
526 /* We should never use localalloc from another slot */
527 ac->ac_alloc_slot = osb->slot_num;
526 ac->ac_which = OCFS2_AC_USE_LOCAL; 528 ac->ac_which = OCFS2_AC_USE_LOCAL;
527 get_bh(osb->local_alloc_bh); 529 get_bh(osb->local_alloc_bh);
528 ac->ac_bh = osb->local_alloc_bh; 530 ac->ac_bh = osb->local_alloc_bh;