aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-04-10 05:11:24 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-10 05:11:24 -0400
commit3db8ce35c37b62d27e7656fe5e7d2d2865002045 (patch)
treed8817c147fdc59fb651e0792d92ff7290ddd7938 /net
parent4738c1db1593687713869fa69e733eebc7b0d6d8 (diff)
af_iucv: Use non-deprecated __RW_LOCK_UNLOCKED macro.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/iucv/af_iucv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index fee22caf1bad..7b0038f45b16 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -53,7 +53,7 @@ static int iucv_callback_connreq(struct iucv_path *, u8 ipvmid[8],
53static void iucv_callback_connrej(struct iucv_path *, u8 ipuser[16]); 53static void iucv_callback_connrej(struct iucv_path *, u8 ipuser[16]);
54 54
55static struct iucv_sock_list iucv_sk_list = { 55static struct iucv_sock_list iucv_sk_list = {
56 .lock = RW_LOCK_UNLOCKED, 56 .lock = __RW_LOCK_UNLOCKED(iucv_sk_list.lock),
57 .autobind_name = ATOMIC_INIT(0) 57 .autobind_name = ATOMIC_INIT(0)
58}; 58};
59 59