[DLM] PATCH 1/3 dlm: force free user lockspace
authorDavid Teigland <teigland@redhat.com>
Fri, 28 Apr 2006 14:48:59 +0000 (10:48 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 28 Apr 2006 14:48:59 +0000 (10:48 -0400)
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>
fs/dlm/device.c

index 5da4b2ed988d04e4520ef7a9b4c0360fb5579926..49a20d54921690d4c5bf37f49f7ff6c55ec72c20 100644 (file)
@@ -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);