提交 ae118962 编写于 作者: D David Teigland 提交者: Steven Whitehouse

[DLM] PATCH 1/3 dlm: force free user lockspace

Lockspaces created from user space should be forcibly freed without
requiring any further user space interaction.
Signed-off-by: NDavid Teigland <teigland@redhat.com>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 36327521
......@@ -626,7 +626,7 @@ static int do_user_remove_lockspace(struct file_info *fi, uint8_t cmd,
}
if (kparams->flags & DLM_USER_LSFLG_FORCEFREE)
force = 2;
force = 3;
status = unregister_lockspace(lsinfo, force);
mutex_unlock(&user_ls_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册