Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf4557
)
from Alex: temporarily fix for mds hanging on mountain: spinlock might
author
ericm
<ericm>
Fri, 15 Apr 2005 22:22:57 +0000
(22:22 +0000)
committer
ericm
<ericm>
Fri, 15 Apr 2005 22:22:57 +0000
(22:22 +0000)
be called in interrupt context.
lustre/sec/svcsec.c
patch
|
blob
|
history
diff --git
a/lustre/sec/svcsec.c
b/lustre/sec/svcsec.c
index
b6792c1
..
78a6276
100644
(file)
--- a/
lustre/sec/svcsec.c
+++ b/
lustre/sec/svcsec.c
@@
-103,18
+103,18
@@
struct ptlrpc_svcsec * svcsec_get(struct ptlrpc_svcsec *sec)
{
int rc;
- spin_lock(&svcsecs_lock);
+
//
spin_lock(&svcsecs_lock);
rc = try_module_get(sec->pss_owner);
- spin_unlock(&svcsecs_lock);
+
//
spin_unlock(&svcsecs_lock);
LASSERT(rc);
return sec;
}
void svcsec_put(struct ptlrpc_svcsec *sec)
{
- spin_lock(&svcsecs_lock);
+
//
spin_lock(&svcsecs_lock);
module_put(sec->pss_owner);
- spin_unlock(&svcsecs_lock);
+
//
spin_unlock(&svcsecs_lock);
}
/*