Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8c778fd authored by Nitin Gupta's avatar Nitin Gupta Committed by Greg Kroah-Hartman
Browse files

zcache: Fix build error when sysfs is not defined

parent 3ca15c44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1936,9 +1936,9 @@ __setup("nofrontswap", no_frontswap);

static int __init zcache_init(void)
{
#ifdef CONFIG_SYSFS
	int ret = 0;

#ifdef CONFIG_SYSFS
	ret = sysfs_create_group(mm_kobj, &zcache_attr_group);
	if (ret) {
		pr_err("zcache: can't create sysfs\n");