Skip to content

Commit 67441c2

Browse files
Kirill Tkhaidavem330
authored andcommitted
net: Convert nfsd_net_ops
These pernet_operations look similar to rpcsec_gss_net_ops, they just create and destroy another caches. So, they also can be async. Signed-off-by: Kirill Tkhai <[email protected]> Acked-by: J. Bruce Fields <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cdcfeb0 commit 67441c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfsd/nfsctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,7 @@ static struct pernet_operations nfsd_net_ops = {
12631263
.exit = nfsd_exit_net,
12641264
.id = &nfsd_net_id,
12651265
.size = sizeof(struct nfsd_net),
1266+
.async = true,
12661267
};
12671268

12681269
static int __init init_nfsd(void)

0 commit comments

Comments
 (0)