Skip to content

Commit dbf7bb4

Browse files
Kirill Tkhaidavem330
authored andcommitted
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 <[email protected]> Acked-by: Anna Schumaker <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 436de50 commit dbf7bb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfs/blocklayout/rpc_pipefs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ static void nfs4blocklayout_net_exit(struct net *net)
261261
static struct pernet_operations nfs4blocklayout_net_ops = {
262262
.init = nfs4blocklayout_net_init,
263263
.exit = nfs4blocklayout_net_exit,
264+
.async = true,
264265
};
265266

266267
int __init bl_init_pipefs(void)

0 commit comments

Comments
 (0)