]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/dlm/dlm_internal.h
dlm: allow multiple lockspace creates
[linux-2.6-omap-h63xx.git] / fs / dlm / dlm_internal.h
index 5a7ac33b629cf5db96d6546ee2b394809c4278d3..9e0622aff496b00e534599fdbef895f49d97dfb9 100644 (file)
@@ -2,7 +2,7 @@
 *******************************************************************************
 **
 **  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
-**  Copyright (C) 2004-2007 Red Hat, Inc.  All rights reserved.
+**  Copyright (C) 2004-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
@@ -441,7 +441,9 @@ struct dlm_ls {
        uint32_t                ls_global_id;   /* global unique lockspace ID */
        uint32_t                ls_exflags;
        int                     ls_lvblen;
-       int                     ls_count;       /* reference count */
+       int                     ls_count;       /* refcount of processes in
+                                                  the dlm using this ls */
+       int                     ls_create_count; /* create/release refcount */
        unsigned long           ls_flags;       /* LSFL_ */
        struct kobject          ls_kobj;