diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 15:59:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 19:01:35 +0300 |
commit | 7300bd94e622a44277a72b82f848db4d961d02e6 (patch) | |
tree | 8675ceed7c77000c909a0e29aa60c0a02dcc87d1 /fs | |
parent | f0aad8e340eace8a13736277a0e8c040a879740c (diff) | |
download | linux-7300bd94e622a44277a72b82f848db4d961d02e6.tar.xz |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/inode.c | 1 |
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, }; /* |