0f8e0d9a31
Add a count for lockspace create and release so that create can be called multiple times to use the lockspace from different places. Also add the new flag DLM_LSFL_NEWEXCL to create a lockspace with the previous behavior of returning -EEXIST if the lockspace already exists. Signed-off-by: David Teigland <teigland@redhat.com>
18 lines
467 B
C
18 lines
467 B
C
/*
|
|
* Copyright (C) 2006-2008 Red Hat, Inc. All rights reserved.
|
|
*
|
|
* This copyrighted material is made available to anyone wishing to use,
|
|
* modify, copy, or redistribute it subject to the terms and conditions
|
|
* of the GNU General Public License v.2.
|
|
*/
|
|
|
|
#ifndef __USER_DOT_H__
|
|
#define __USER_DOT_H__
|
|
|
|
void dlm_user_add_ast(struct dlm_lkb *lkb, int type);
|
|
int dlm_user_init(void);
|
|
void dlm_user_exit(void);
|
|
int dlm_device_deregister(struct dlm_ls *ls);
|
|
|
|
#endif
|