Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-812 compat: clean up mutex lock to use kernel mutex primitive
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_quota.h
diff --git
a/lustre/include/lustre_quota.h
b/lustre/include/lustre_quota.h
index
345f44b
..
c14a1eb
100644
(file)
--- a/
lustre/include/lustre_quota.h
+++ b/
lustre/include/lustre_quota.h
@@
-28,6
+28,8
@@
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Whamcloud, Inc.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-177,7
+179,7
@@
struct lustre_dquot {
/** Hash list in memory, protect by dquot_hash_lock */
cfs_list_t dq_hash;
/** Protect the data in lustre_dquot */
/** Hash list in memory, protect by dquot_hash_lock */
cfs_list_t dq_hash;
/** Protect the data in lustre_dquot */
- cfs_
semaphore_t dq_sem
;
+ cfs_
mutex_t dq_mutex
;
/** Use count */
cfs_atomic_t dq_refcnt;
/** Pointer of quota info it belongs to */
/** Use count */
cfs_atomic_t dq_refcnt;
/** Pointer of quota info it belongs to */