PR_WAITOK implies process context, so IPL_NONE is fine.

this is the same as the ufs change, but in tmpfs.

ok?

Index: tmpfs_vfsops.c
===================================================================
RCS file: /cvs/src/sys/tmpfs/tmpfs_vfsops.c,v
retrieving revision 1.8
diff -u -p -r1.8 tmpfs_vfsops.c
--- tmpfs_vfsops.c      13 Jan 2016 13:01:40 -0000      1.8
+++ tmpfs_vfsops.c      20 Jun 2016 12:16:04 -0000
@@ -75,8 +75,10 @@ tmpfs_init(struct vfsconf *vfsp)
 
        pool_init(&tmpfs_dirent_pool, sizeof(tmpfs_dirent_t), 0, 0, PR_WAITOK,
            "tmpfs_dirent", NULL);
+       pool_setipl(&tmpfs_dirent_pool, IPL_NONE);
        pool_init(&tmpfs_node_pool, sizeof(tmpfs_node_t), 0, 0, PR_WAITOK,
            "tmpfs_node", NULL);
+       pool_setipl(&tmpfs_node_pool, IPL_NONE);
 
        return 0;
 }

Reply via email to