[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>
diff --git a/fs/dlm/device.c b/fs/dlm/device.c
index 5da4b2e..49a20d5 100644
--- a/fs/dlm/device.c
+++ b/fs/dlm/device.c
@@ -626,7 +626,7 @@
}
if (kparams->flags & DLM_USER_LSFLG_FORCEFREE)
- force = 2;
+ force = 3;
status = unregister_lockspace(lsinfo, force);
mutex_unlock(&user_ls_lock);