aboutsummaryrefslogtreecommitdiffstats
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)
[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,
626 } 626 }
627 627
628 if (kparams->flags & DLM_USER_LSFLG_FORCEFREE) 628 if (kparams->flags & DLM_USER_LSFLG_FORCEFREE)
629 force = 2; 629 force = 3;
630 630
631 status = unregister_lockspace(lsinfo, force); 631 status = unregister_lockspace(lsinfo, force);
632 mutex_unlock(&user_ls_lock); 632 mutex_unlock(&user_ls_lock);