summary refs log tree commit diff
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-26 15:59:47 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 11:01:35 -0500
commit7300bd94e622a44277a72b82f848db4d961d02e6 (patch)
tree8675ceed7c77000c909a0e29aa60c0a02dcc87d1
parentf0aad8e340eace8a13736277a0e8c040a879740c (diff)
downloadlinux-7300bd94e622a44277a72b82f848db4d961d02e6.tar.gz
net: Convert nfs_net_ops
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 <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--fs/nfs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 7d893543cf3b..6c3083c992e5 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -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,
 };
 
 /*