summaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-04-28 16:48:59 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-28 16:48:59 +0200
commitae118962b9f8572b5ff00e85c053dbeede2314db (patch)
treee9aabdba8e33c267e217c78b095b309d38c15eed /fs/dlm
parent[GFS2] Reordering in deallocation to avoid recursive locking (diff)
downloadlinux-ae118962b9f8572b5ff00e85c053dbeede2314db.tar.xz
linux-ae118962b9f8572b5ff00e85c053dbeede2314db.zip
[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 <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/device.c2
1 files changed, 1 insertions, 1 deletions
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);