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-11775 obdclass: protect imp_sec using rwlock_t
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_import.h
diff --git
a/lustre/include/lustre_import.h
b/lustre/include/lustre_import.h
index
8f52c66
..
0e34d55
100644
(file)
--- a/
lustre/include/lustre_import.h
+++ b/
lustre/include/lustre_import.h
@@
-210,7
+210,7
@@
struct obd_import {
* @{
*/
struct ptlrpc_sec *imp_sec;
-
struct mutex imp_sec_mutex
;
+
rwlock_t imp_sec_lock
;
time64_t imp_sec_expire;
pid_t imp_sec_refpid;
/** @} */