af_iucv: Use non-deprecated __RW_LOCK_UNLOCKED macro.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Thu, 10 Apr 2008 09:11:24 +0000 (02:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Apr 2008 09:11:24 +0000 (02:11 -0700)
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>
net/iucv/af_iucv.c

index fee22ca..7b0038f 100644 (file)
@@ -53,7 +53,7 @@ static int iucv_callback_connreq(struct iucv_path *, u8 ipvmid[8],
 static void iucv_callback_connrej(struct iucv_path *, u8 ipuser[16]);
 
 static struct iucv_sock_list iucv_sk_list = {
-       .lock = RW_LOCK_UNLOCKED,
+       .lock = __RW_LOCK_UNLOCKED(iucv_sk_list.lock),
        .autobind_name = ATOMIC_INIT(0)
 };