From: David Teigland Date: Fri, 28 Apr 2006 14:48:59 +0000 (-0400) Subject: [DLM] PATCH 1/3 dlm: force free user lockspace X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ae118962b9f8572b5ff00e85c053dbeede2314db;p=linux-beck.git [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 --- 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);