rue/io: mem_cgroup_bind_blkio_write also require CONFIG_SWAP
mem_cgroup_bind_blkio_write() caused by disable CONFIG_SWAP Partially fix the report issue. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202409300839.3XARZneM-lkp@intel.com/ Signed-off-by: Haisu Wang <haisuwang@tencent.com>
This commit is contained in:
parent
d860ea5571
commit
148ec2e1cd
|
@ -6225,7 +6225,7 @@ static int mem_cgroup_vmstat_read(struct seq_file *m, void *vv)
|
|||
return mem_cgroup_vmstat_read_comm(m, vv, memcg);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CGROUP_WRITEBACK
|
||||
#if defined(CONFIG_CGROUP_WRITEBACK) && defined(CONFIG_SWAP)
|
||||
static ssize_t mem_cgroup_bind_blkio_write(struct kernfs_open_file *of,
|
||||
char *buf, size_t nbytes, loff_t off)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue