Merge branch 'pernet-convert-part7.1'
Kirill Tkhai says: ==================== Converting pernet_operations (part #7.1) this is a resending of the 4 patches from path #7. Anna kindly reviewed them and suggested to take the patches through net tree, since there is pernet_operations::async only in net-next.git. There is Anna's acks on every header, the rest of patch has no changes. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
02a21de90c
@ -261,6 +261,7 @@ static void nfs4blocklayout_net_exit(struct net *net)
|
|||||||
static struct pernet_operations nfs4blocklayout_net_ops = {
|
static struct pernet_operations nfs4blocklayout_net_ops = {
|
||||||
.init = nfs4blocklayout_net_init,
|
.init = nfs4blocklayout_net_init,
|
||||||
.exit = nfs4blocklayout_net_exit,
|
.exit = nfs4blocklayout_net_exit,
|
||||||
|
.async = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
int __init bl_init_pipefs(void)
|
int __init bl_init_pipefs(void)
|
||||||
|
@ -410,6 +410,7 @@ static void nfs4_dns_net_exit(struct net *net)
|
|||||||
static struct pernet_operations nfs4_dns_resolver_ops = {
|
static struct pernet_operations nfs4_dns_resolver_ops = {
|
||||||
.init = nfs4_dns_net_init,
|
.init = nfs4_dns_net_init,
|
||||||
.exit = nfs4_dns_net_exit,
|
.exit = nfs4_dns_net_exit,
|
||||||
|
.async = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event,
|
static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event,
|
||||||
|
@ -2063,6 +2063,7 @@ static __net_exit void rpcsec_gss_exit_net(struct net *net)
|
|||||||
static struct pernet_operations rpcsec_gss_net_ops = {
|
static struct pernet_operations rpcsec_gss_net_ops = {
|
||||||
.init = rpcsec_gss_init_net,
|
.init = rpcsec_gss_init_net,
|
||||||
.exit = rpcsec_gss_exit_net,
|
.exit = rpcsec_gss_exit_net,
|
||||||
|
.async = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -79,6 +79,7 @@ static struct pernet_operations sunrpc_net_ops = {
|
|||||||
.exit = sunrpc_exit_net,
|
.exit = sunrpc_exit_net,
|
||||||
.id = &sunrpc_net_id,
|
.id = &sunrpc_net_id,
|
||||||
.size = sizeof(struct sunrpc_net),
|
.size = sizeof(struct sunrpc_net),
|
||||||
|
.async = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init
|
static int __init
|
||||||
|
Loading…
Reference in New Issue
Block a user