mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
[NET] UNIX: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c430728526
commit
ac7bfa62f3
2 changed files with 30 additions and 30 deletions
|
@ -915,7 +915,7 @@ static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr,
|
||||||
unix_peer(sk)=other;
|
unix_peer(sk)=other;
|
||||||
unix_state_wunlock(sk);
|
unix_state_wunlock(sk);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
out_unlock:
|
out_unlock:
|
||||||
unix_state_wunlock(sk);
|
unix_state_wunlock(sk);
|
||||||
|
@ -1021,7 +1021,7 @@ restart:
|
||||||
goto out;
|
goto out;
|
||||||
sock_put(other);
|
sock_put(other);
|
||||||
goto restart;
|
goto restart;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Latch our state.
|
/* Latch our state.
|
||||||
|
|
||||||
|
@ -1614,9 +1614,9 @@ static int unix_dgram_recvmsg(struct kiocb *iocb, struct socket *sock,
|
||||||
- clone fds (I chose it for now, it is the most universal
|
- clone fds (I chose it for now, it is the most universal
|
||||||
solution)
|
solution)
|
||||||
|
|
||||||
POSIX 1003.1g does not actually define this clearly
|
POSIX 1003.1g does not actually define this clearly
|
||||||
at all. POSIX 1003.1g doesn't define a lot of things
|
at all. POSIX 1003.1g doesn't define a lot of things
|
||||||
clearly however!
|
clearly however!
|
||||||
|
|
||||||
*/
|
*/
|
||||||
if (UNIXCB(skb).fp)
|
if (UNIXCB(skb).fp)
|
||||||
|
@ -2064,8 +2064,8 @@ static int __init af_unix_init(void)
|
||||||
BUILD_BUG_ON(sizeof(struct unix_skb_parms) > sizeof(dummy_skb->cb));
|
BUILD_BUG_ON(sizeof(struct unix_skb_parms) > sizeof(dummy_skb->cb));
|
||||||
|
|
||||||
rc = proto_register(&unix_proto, 1);
|
rc = proto_register(&unix_proto, 1);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
printk(KERN_CRIT "%s: Cannot create unix_sock SLAB cache!\n",
|
printk(KERN_CRIT "%s: Cannot create unix_sock SLAB cache!\n",
|
||||||
__FUNCTION__);
|
__FUNCTION__);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue