net: Convert nfs4blocklayout_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 26 Mar 2018 09:29:13 +0000 (12:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 17:03:26 +0000 (13:03 -0400)
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>
fs/nfs/blocklayout/rpc_pipefs.c

index 9fb067a..ef9fa11 100644 (file)
@@ -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)