mm: rcu-protected get_mm_exe_file()
[linux-2.6-block.git] / kernel / cred.c
index e0573a43c7df62b1b37df319bd74ff377603ccf5..ec1c07667ec1d5daec2820d6b30cda2bf99818c4 100644 (file)
@@ -29,6 +29,9 @@
 
 static struct kmem_cache *cred_jar;
 
+/* init to 2 - one for init_task, one to ensure it is never freed */
+struct group_info init_groups = { .usage = ATOMIC_INIT(2) };
+
 /*
  * The initial credentials for the initial task
  */