[PATCH] Fix cgroup_create_dir() comments

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <akpm@...>, <containers@...>
Cc: <linux-kernel@...>
Date: Tuesday, September 25, 2007 - 11:19 pm

Comment fixed, to match the actual arguments.

Signed-off-by: Balaji Rao <balajirao@gmail.com>
Signed-off-by: Paul Menage <menage@google.com>

---
 kernel/cgroup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: container-2.6.23-rc8-mm1/kernel/cgroup.c
===================================================================
--- container-2.6.23-rc8-mm1.orig/kernel/cgroup.c
+++ container-2.6.23-rc8-mm1/kernel/cgroup.c
@@ -1569,7 +1569,7 @@ static int cgroup_create_file(struct den
  *	cont:	the cgroup we create the directory for.
  *		It must have a valid ->parent field
  *		And we are going to fill its ->dentry field.
- *	name:	The name to give to the cgroup directory. Will be copied.
+ *	dentry: dentry of the new container
  *	mode:	mode to set on new directory.
  */
 static int cgroup_create_dir(struct cgroup *cont, struct dentry *dentry,
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix cgroup_create_dir() comments, Paul Menage, (Tue Sep 25, 11:19 pm)