瀏覽代碼

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>
Kirill Tkhai 7 年之前
父節點
當前提交
7300bd94e6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs/nfs/inode.c

+ 1 - 0
fs/nfs/inode.c

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