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
/
cell.c
diff --git
a/fs/afs/cell.c
b/fs/afs/cell.c
index
e7fd3cc
..
009a9ae
100644
(file)
--- a/
fs/afs/cell.c
+++ b/
fs/afs/cell.c
@@
-27,7
+27,7
@@
DECLARE_RWSEM(afs_proc_cells_sem);
LIST_HEAD(afs_proc_cells);
static struct list_head afs_cells = LIST_HEAD_INIT(afs_cells);
LIST_HEAD(afs_proc_cells);
static struct list_head afs_cells = LIST_HEAD_INIT(afs_cells);
-static
rwlock_t afs_cells_lock = RW_LOCK_UNLOCKED
;
+static
DEFINE_RWLOCK(afs_cells_lock)
;
static DECLARE_RWSEM(afs_cells_sem); /* add/remove serialisation */
static struct afs_cell *afs_cell_root;
static DECLARE_RWSEM(afs_cells_sem); /* add/remove serialisation */
static struct afs_cell *afs_cell_root;