diff options
| author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-26 12:29:13 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-03-26 20:03:26 +0300 |
| commit | dbf7bb4437260605fffcaff9aad3514163209db1 (patch) | |
| tree | 2fd9073a888212304ab20ee91ae83e32e85d9b3f | |
| parent | 436de500948e1176ef013468c2630f83bb72a901 (diff) | |
| download | linux-dbf7bb4437260605fffcaff9aad3514163209db1.tar.xz | |
net: Convert nfs4blocklayout_net_ops
These pernet_operations create and destroy per-net pipe
and dentry, and they seem safe to be marked as async.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | fs/nfs/blocklayout/rpc_pipefs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/blocklayout/rpc_pipefs.c b/fs/nfs/blocklayout/rpc_pipefs.c index 9fb067a6f7e0..ef9fa111b009 100644 --- a/fs/nfs/blocklayout/rpc_pipefs.c +++ b/fs/nfs/blocklayout/rpc_pipefs.c @@ -261,6 +261,7 @@ static void nfs4blocklayout_net_exit(struct net *net) static struct pernet_operations nfs4blocklayout_net_ops = { .init = nfs4blocklayout_net_init, .exit = nfs4blocklayout_net_exit, + .async = true, }; int __init bl_init_pipefs(void) |
