summaryrefslogtreecommitdiff
path: root/kernel/cgroup_pids.c
diff options
context:
space:
mode:
authorRami Rosen <rami.rosen@intel.com>2015-12-13 22:13:08 +0200
committerTejun Heo <tj@kernel.org>2015-12-14 14:54:37 -0500
commitfccd3af57100027e5330079819987aade07631ad (patch)
tree1b3621ac32f9fd88475290eb32fb49a5a81ccbed /kernel/cgroup_pids.c
parent177493987c1a15145922a65240f2f8ab6c63770a (diff)
cgroup_pids: fix a typo.
This patch fixes a typo in pids_charge() method. Signed-off-by: Rami Rosen <rami.rosen@intel.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup_pids.c')
-rw-r--r--kernel/cgroup_pids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup_pids.c b/kernel/cgroup_pids.c
index 18107aea2895..303097b37429 100644
--- a/kernel/cgroup_pids.c
+++ b/kernel/cgroup_pids.c
@@ -134,7 +134,7 @@ static void pids_charge(struct pids_cgroup *pids, int num)
*
* This function follows the set limit. It will fail if the charge would cause
* the new value to exceed the hierarchical limit. Returns 0 if the charge
- * succeded, otherwise -EAGAIN.
+ * succeeded, otherwise -EAGAIN.
*/
static int pids_try_charge(struct pids_cgroup *pids, int num)
{