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
/
afs
/
vlocation.c
diff --git
a/fs/afs/vlocation.c
b/fs/afs/vlocation.c
index
5d65042
..
eced206
100644
(file)
--- a/
fs/afs/vlocation.c
+++ b/
fs/afs/vlocation.c
@@
-57,7
+57,7
@@
static const struct afs_async_op_ops afs_vlocation_update_op_ops = {
static LIST_HEAD(afs_vlocation_update_pendq); /* queue of VLs awaiting update */
static struct afs_vlocation *afs_vlocation_update; /* VL currently being updated */
static LIST_HEAD(afs_vlocation_update_pendq); /* queue of VLs awaiting update */
static struct afs_vlocation *afs_vlocation_update; /* VL currently being updated */
-static
spinlock_t afs_vlocation_update_lock = SPIN_LOCK_UNLOCKED
; /* lock guarding update queue */
+static
DEFINE_SPINLOCK(afs_vlocation_update_lock)
; /* lock guarding update queue */
#ifdef AFS_CACHING_SUPPORT
static cachefs_match_val_t afs_vlocation_cache_match(void *target,
#ifdef AFS_CACHING_SUPPORT
static cachefs_match_val_t afs_vlocation_cache_match(void *target,