Skip to content

Commit 02a21de

Browse files
committed
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 <[email protected]>
2 parents 1c976a8 + dbf7bb4 commit 02a21de

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

fs/nfs/blocklayout/rpc_pipefs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ static void nfs4blocklayout_net_exit(struct net *net)
261261
static struct pernet_operations nfs4blocklayout_net_ops = {
262262
.init = nfs4blocklayout_net_init,
263263
.exit = nfs4blocklayout_net_exit,
264+
.async = true,
264265
};
265266

266267
int __init bl_init_pipefs(void)

fs/nfs/dns_resolve.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ static void nfs4_dns_net_exit(struct net *net)
410410
static struct pernet_operations nfs4_dns_resolver_ops = {
411411
.init = nfs4_dns_net_init,
412412
.exit = nfs4_dns_net_exit,
413+
.async = true,
413414
};
414415

415416
static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event,

net/sunrpc/auth_gss/auth_gss.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,6 +2063,7 @@ static __net_exit void rpcsec_gss_exit_net(struct net *net)
20632063
static struct pernet_operations rpcsec_gss_net_ops = {
20642064
.init = rpcsec_gss_init_net,
20652065
.exit = rpcsec_gss_exit_net,
2066+
.async = true,
20662067
};
20672068

20682069
/*

net/sunrpc/sunrpc_syms.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ static struct pernet_operations sunrpc_net_ops = {
7979
.exit = sunrpc_exit_net,
8080
.id = &sunrpc_net_id,
8181
.size = sizeof(struct sunrpc_net),
82+
.async = true,
8283
};
8384

8485
static int __init

0 commit comments

Comments
 (0)