mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 11:45:53 -05:00
[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 <[email protected]> Signed-off-by: Steven Whitehouse <[email protected]>
This commit is contained in:
parent
363275216c
commit
ae118962b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue