Skip to contentSkip to conversation

Fix cgroup_create_dir() comments

PATCH New Paul Menage 1 participant 1 message Sep 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix cgroup_create_dir() comments

Comment fixed, to match the actual arguments.

---
kernel/cgroup.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
kernel/cgroup.c +1 -1
Index: 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,