git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git]
/
fs
/
afs
/
cmservice.c
diff --git
a/fs/afs/cmservice.c
b/fs/afs/cmservice.c
index
3d097fd
..
f87d5a7
100644
(file)
--- a/
fs/afs/cmservice.c
+++ b/
fs/afs/cmservice.c
@@
-24,7
+24,7
@@
#include "internal.h"
static unsigned afscm_usage; /* AFS cache manager usage count */
#include "internal.h"
static unsigned afscm_usage; /* AFS cache manager usage count */
-static
struct rw_semaphore afscm_sem;
/* AFS cache manager start/stop semaphore */
+static
DECLARE_RWSEM(afscm_sem);
/* AFS cache manager start/stop semaphore */
static int afscm_new_call(struct rxrpc_call *call);
static void afscm_attention(struct rxrpc_call *call);
static int afscm_new_call(struct rxrpc_call *call);
static void afscm_attention(struct rxrpc_call *call);