From: Tejun Heo Date: Fri, 22 May 2015 21:14:05 +0000 (-0400) Subject: ext2: enable cgroup writeback support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=108dad65be9786650c78ed9aea28c9b4a68810d9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ext2: enable cgroup writeback support Writeback now supports cgroup writeback and the generic writeback, buffer, libfs, and mpage helpers that ext2 uses are all updated to work with cgroup writeback. This patch enables cgroup writeback for ext2 by adding FS_CGROUP_WRITEBACK to its ->fs_flags. Signed-off-by: Tejun Heo Cc: Jens Axboe Cc: Jan Kara Cc: linux-ext4@vger.kernel.org Signed-off-by: Jens Axboe --- diff --git a/fs/ext2/super.c b/fs/ext2/super.c index d0e746e96511..549219d44f1c 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -1543,7 +1543,7 @@ static struct file_system_type ext2_fs_type = { .name = "ext2", .mount = ext2_mount, .kill_sb = kill_block_super, - .fs_flags = FS_REQUIRES_DEV, + .fs_flags = FS_REQUIRES_DEV | FS_CGROUP_WRITEBACK, }; MODULE_ALIAS_FS("ext2");