diff --git a/src/plugins/job_container/tmpfs/job_container_tmpfs.c b/src/plugins/job_container/tmpfs/job_container_tmpfs.c
index 96f98ce72b32d085897b4ebce6770ef2085edc6d..06c19000d3ac3fb7141b98bcdba955f8a814996c 100644
--- a/src/plugins/job_container/tmpfs/job_container_tmpfs.c
+++ b/src/plugins/job_container/tmpfs/job_container_tmpfs.c
@@ -318,7 +318,7 @@ static int _rm_data(const char *path, const struct stat *st_buf,
 	return 0;
 }
 
-extern int container_p_create(uint32_t job_id)
+static int _create_ns(uint32_t job_id)
 {
 	char job_mount[PATH_MAX];
 	char ns_holder[PATH_MAX];
@@ -558,6 +558,11 @@ exit2:
 	return rc;
 }
 
+extern int container_p_create(uint32_t job_id)
+{
+	return _create_ns(job_id);
+}
+
 /* Add a process to a job container, create the proctrack container to add */
 extern int container_p_join_external(uint32_t job_id)
 {