dlm_internal.h (99fc64874aad1ee0aea5c4d8c07e3529f9d03497) dlm_internal.h (a1bc86e6bddd34362ca08a3a4d898eb4b5c15215)
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 512 unchanged lines hidden (view full) ---

521
522struct dlm_user_proc {
523 dlm_lockspace_t *lockspace;
524 unsigned long flags; /* DLM_PROC_FLAGS */
525 struct list_head asts;
526 spinlock_t asts_spin;
527 struct list_head locks;
528 spinlock_t locks_spin;
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 512 unchanged lines hidden (view full) ---

521
522struct dlm_user_proc {
523 dlm_lockspace_t *lockspace;
524 unsigned long flags; /* DLM_PROC_FLAGS */
525 struct list_head asts;
526 spinlock_t asts_spin;
527 struct list_head locks;
528 spinlock_t locks_spin;
529 struct list_head unlocking;
529 wait_queue_head_t wait;
530};
531
532static inline int dlm_locking_stopped(struct dlm_ls *ls)
533{
534 return !test_bit(LSFL_RUNNING, &ls->ls_flags);
535}
536

--- 12 unchanged lines hidden ---
530 wait_queue_head_t wait;
531};
532
533static inline int dlm_locking_stopped(struct dlm_ls *ls)
534{
535 return !test_bit(LSFL_RUNNING, &ls->ls_flags);
536}
537

--- 12 unchanged lines hidden ---