Skip to content

Commit

Permalink
sheep: disable locking in a correct manner if -l isn't passed to clus…
Browse files Browse the repository at this point in the history
…ter format

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
  • Loading branch information
mitake committed Oct 9, 2015
1 parent f066bf5 commit 6a7c26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sheep/ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@ static int cluster_lock_vdi_work(struct request *req)
{
if (!(sys->cinfo.flags & SD_CLUSTER_FLAG_USE_LOCK)) {
sd_debug("vdi lock is disabled");
return SD_RES_SUCCESS;
return cluster_get_vdi_info(req);
}

if (sys->node_status == SD_NODE_STATUS_COLLECTING_CINFO) {
Expand Down

0 comments on commit 6a7c26b

Please sign in to comment.