From ae118962b9f8572b5ff00e85c053dbeede2314db Mon Sep 17 00:00:00 2001 From: David Teigland Date: Fri, 28 Apr 2006 10:48:59 -0400 Subject: [PATCH] [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: David Teigland Signed-off-by: Steven Whitehouse --- fs/dlm/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/dlm/device.c b/fs/dlm/device.c index 5da4b2ed988d..49a20d549216 100644 --- a/fs/dlm/device.c +++ b/fs/dlm/device.c @@ -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);