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
vserver 1.9.5.x5
[linux-2.6.git]
/
fs
/
nfsd
/
nfscache.c
diff --git
a/fs/nfsd/nfscache.c
b/fs/nfsd/nfscache.c
index
9ab14f5
..
a3236df
100644
(file)
--- a/
fs/nfsd/nfscache.c
+++ b/
fs/nfsd/nfscache.c
@@
-48,7
+48,7
@@
static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec);
* A cache entry is "single use" if c_state == RC_INPROG
* Otherwise, it when accessing _prev or _next, the lock must be held.
*/
-static
spinlock_t cache_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(cache_lock)
;
void
nfsd_cache_init(void)