Skip to content

Commit

Permalink
[DLM] PATCH 1/3 dlm: force free user lockspace
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Apr 28, 2006
1 parent 3632752 commit ae11896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dlm/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae11896

Please sign in to comment.