aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/user.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-08-06 14:30:24 -0400
committerDavid Teigland <teigland@redhat.com>2008-08-28 12:49:15 -0400
commit0f8e0d9a317406612700426fad3efab0b7bbc467 (patch)
treeb4ed35afeab36615e50d5c7928a6199780fd2fca /fs/dlm/user.h
parent4c246edd2550304df5b766cc841584b2bb058843 (diff)
dlm: allow multiple lockspace creates
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>
Diffstat (limited to 'fs/dlm/user.h')
-rw-r--r--fs/dlm/user.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/dlm/user.h b/fs/dlm/user.h
index d38e9f3e4151..c528b6b2991b 100644
--- a/fs/dlm/user.h
+++ b/fs/dlm/user.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (C) 2006 Red Hat, Inc. All rights reserved. 2 * Copyright (C) 2006-2008 Red Hat, Inc. All rights reserved.
3 * 3 *
4 * This copyrighted material is made available to anyone wishing to use, 4 * This copyrighted material is made available to anyone wishing to use,
5 * modify, copy, or redistribute it subject to the terms and conditions 5 * modify, copy, or redistribute it subject to the terms and conditions
@@ -12,5 +12,6 @@
12void dlm_user_add_ast(struct dlm_lkb *lkb, int type); 12void dlm_user_add_ast(struct dlm_lkb *lkb, int type);
13int dlm_user_init(void); 13int dlm_user_init(void);
14void dlm_user_exit(void); 14void dlm_user_exit(void);
15int dlm_device_deregister(struct dlm_ls *ls);
15 16
16#endif 17#endif