SUNRPC: Fix a few sparse warnings
net/sunrpc/svcsock.c:412:22: warning: incorrect type in assignment (different address spaces) - svc_partial_recvfrom now takes a struct kvec, so the variable save_iovbase needs to be an ordinary (void *) Make a bunch of variables in net/sunrpc/xprtsock.c static Fix a couple of "warning: symbol 'foo' was not declared. Should it be static?" reports. Fix a couple of conflicting function declarations. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -1149,7 +1149,7 @@ rpc_mount(struct file_system_type *fs_type,
|
||||
return mount_ns(fs_type, flags, current->nsproxy->net_ns, rpc_fill_super);
|
||||
}
|
||||
|
||||
void rpc_kill_sb(struct super_block *sb)
|
||||
static void rpc_kill_sb(struct super_block *sb)
|
||||
{
|
||||
struct net *net = sb->s_fs_info;
|
||||
struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
|
||||
|
Reference in New Issue
Block a user