Răsfoiți Sursa

trivial: Give the right path in Documentation example

While the Documentation example creates /cgroup/test, it removes
/test/cgroup, which is clearly not the intended path. Change that to
/cgroup/test.

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Thadeu Lima de Souza Cascardo 16 ani în urmă
părinte
comite
6d5e147dd0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Documentation/cgroups/memcg_test.txt

+ 1 - 1
Documentation/cgroups/memcg_test.txt

@@ -356,7 +356,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
 	(Shell-B)
 	# move all tasks in /cgroup/test to /cgroup
 	# /sbin/swapoff -a
-	# rmdir /test/cgroup
+	# rmdir /cgroup/test
 	# kill malloc task.
 
 	Of course, tmpfs v.s. swapoff test should be tested, too.