mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-12 01:20:14 +00:00
mm: Fix a build breakage in memcontrol-v1.c
While adding a deprecation message, fd4fd0a869e9 ("mm: Add transformation
message for per-memcg swappiness") missed the semicolon after the new
pr_info_once() statement causing build breakage when CONFIG_MEMCG_V1 is
enabled. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Fixes: fd4fd0a869e9 ("mm: Add transformation message for per-memcg swappiness")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503120710.guZkJx0h-lkp@intel.com/
This commit is contained in:
parent
4a893bdc18
commit
b0543d50c4
@ -1857,7 +1857,7 @@ static int mem_cgroup_swappiness_write(struct cgroup_subsys_state *css,
|
||||
|
||||
if (!mem_cgroup_is_root(memcg)) {
|
||||
pr_info_once("Per memcg swappiness does not exist in cgroup v2. "
|
||||
"See memory.reclaim or memory.swap.max there\n ")
|
||||
"See memory.reclaim or memory.swap.max there\n ");
|
||||
WRITE_ONCE(memcg->swappiness, val);
|
||||
} else
|
||||
WRITE_ONCE(vm_swappiness, val);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user