Skip to content
Snippets Groups Projects
Commit 6bdfc60c authored by Jakub Wilk's avatar Jakub Wilk Committed by Andrew Morton
Browse files

mm: fix typo in __vm_enough_memory warning

parent 620932cd
No related branches found
No related tags found
No related merge requests found
...@@ -967,7 +967,7 @@ int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) ...@@ -967,7 +967,7 @@ int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin)
if (percpu_counter_read_positive(&vm_committed_as) < allowed) if (percpu_counter_read_positive(&vm_committed_as) < allowed)
return 0; return 0;
error: error:
pr_warn_ratelimited("%s: pid: %d, comm: %s, no enough memory for the allocation\n", pr_warn_ratelimited("%s: pid: %d, comm: %s, not enough memory for the allocation\n",
__func__, current->pid, current->comm); __func__, current->pid, current->comm);
vm_unacct_memory(pages); vm_unacct_memory(pages);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment