net: Convert nfs_net_ops
authorKirill Tkhai <[email protected]>
Mon, 26 Feb 2018 12:59:47 +0000 (15:59 +0300)
committerDavid S. Miller <[email protected]>
Tue, 27 Feb 2018 16:01:35 +0000 (11:01 -0500)
These pernet_operations just create and destroy /proc entries
and net_generic()->cb_ident_idr IDR. So, we are able to mark
them async.

Signed-off-by: Kirill Tkhai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
fs/nfs/inode.c

index 7d893543cf3b37acdb7afe7ad423cecb63204697..6c3083c992e56a207f07226ef82febde24dac6f3 100644 (file)
@@ -2122,6 +2122,7 @@ static struct pernet_operations nfs_net_ops = {
        .exit = nfs_net_exit,
        .id   = &nfs_net_id,
        .size = sizeof(struct nfs_net),
+       .async = true,
 };
 
 /*