net: Remove iocb argument from sendmsg and recvmsg
After TIPC doesn't depend on iocb argument in its internal implementations of sendmsg() and recvmsg() hooks defined in proto structure, no any user is using iocb argument in them at all now. Then we can drop the redundant iocb argument completely from kinds of implementations of both sendmsg() and recvmsg() in the entire networking stack. Cc: Christoph Hellwig <hch@lst.de> Suggested-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
39a0295f90
commit
1b78414047
@@ -548,10 +548,9 @@ int rxrpc_get_server_data_key(struct rxrpc_connection *, const void *, time_t,
|
||||
extern unsigned rxrpc_resend_timeout;
|
||||
|
||||
int rxrpc_send_packet(struct rxrpc_transport *, struct sk_buff *);
|
||||
int rxrpc_client_sendmsg(struct kiocb *, struct rxrpc_sock *,
|
||||
struct rxrpc_transport *, struct msghdr *, size_t);
|
||||
int rxrpc_server_sendmsg(struct kiocb *, struct rxrpc_sock *, struct msghdr *,
|
||||
size_t);
|
||||
int rxrpc_client_sendmsg(struct rxrpc_sock *, struct rxrpc_transport *,
|
||||
struct msghdr *, size_t);
|
||||
int rxrpc_server_sendmsg(struct rxrpc_sock *, struct msghdr *, size_t);
|
||||
|
||||
/*
|
||||
* ar-peer.c
|
||||
@@ -572,8 +571,7 @@ extern const struct file_operations rxrpc_connection_seq_fops;
|
||||
* ar-recvmsg.c
|
||||
*/
|
||||
void rxrpc_remove_user_ID(struct rxrpc_sock *, struct rxrpc_call *);
|
||||
int rxrpc_recvmsg(struct kiocb *, struct socket *, struct msghdr *, size_t,
|
||||
int);
|
||||
int rxrpc_recvmsg(struct socket *, struct msghdr *, size_t, int);
|
||||
|
||||
/*
|
||||
* ar-security.c
|
||||
|
Reference in New Issue
Block a user