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]
/
net
/
ipv4
/
ipvs
/
ip_vs_est.c
diff --git
a/net/ipv4/ipvs/ip_vs_est.c
b/net/ipv4/ipvs/ip_vs_est.c
index
3af1fd1
..
67b3e2f
100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_est.c
+++ b/
net/ipv4/ipvs/ip_vs_est.c
@@
-62,7
+62,7
@@
struct ip_vs_estimator
static struct ip_vs_estimator *est_list = NULL;
-static
rwlock_t est_lock = RW_LOCK_UNLOCKED
;
+static
DEFINE_RWLOCK(est_lock)
;
static struct timer_list est_timer;
static void estimation_timer(unsigned long arg)