aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/dlm/dlmmaster.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index d7a51691e7d3..376283e98c16 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -1512,15 +1512,12 @@ way_up_top:
1512 mlog_errno(-ENOMEM); 1512 mlog_errno(-ENOMEM);
1513 goto send_response; 1513 goto send_response;
1514 } 1514 }
1515 spin_lock(&dlm->spinlock);
1516 dlm_init_mle(mle, DLM_MLE_BLOCK, dlm, NULL,
1517 name, namelen);
1518 spin_unlock(&dlm->spinlock);
1519 goto way_up_top; 1515 goto way_up_top;
1520 } 1516 }
1521 1517
1522 // mlog(0, "this is second time thru, already allocated, " 1518 // mlog(0, "this is second time thru, already allocated, "
1523 // "add the block.\n"); 1519 // "add the block.\n");
1520 dlm_init_mle(mle, DLM_MLE_BLOCK, dlm, NULL, name, namelen);
1524 set_bit(request->node_idx, mle->maybe_map); 1521 set_bit(request->node_idx, mle->maybe_map);
1525 list_add(&mle->list, &dlm->master_list); 1522 list_add(&mle->list, &dlm->master_list);
1526 response = DLM_MASTER_RESP_NO; 1523 response = DLM_MASTER_RESP_NO;