summaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-04-28 10:48:59 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-28 10:48:59 -0400
commitae118962b9f8572b5ff00e85c053dbeede2314db (patch)
treee9aabdba8e33c267e217c78b095b309d38c15eed /fs/dlm
parent363275216c1a1b0b82c8419310c194b8c26b9c27 (diff)
downloadlinux-ae118962b9f8572b5ff00e85c053dbeede2314db.tar.bz2
[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);