]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
zram: move bd_stat to writeback section
authorSergey Senozhatsky <senozhatsky@chromium.org>
Mon, 1 Dec 2025 09:47:51 +0000 (18:47 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Jan 2026 03:24:37 +0000 (19:24 -0800)
commit910bbb441c004050e188dd8da5071054099e592c
tree16799581de230014e6219090a04b0a6de2b6d57e
parent2502673aed6c66befc7efc2dc008e2a8a50508cd
zram: move bd_stat to writeback section

Move bd_stat function and attribute declaration to
existing CONFIG_WRITEBACK ifdef-sections.

Link: https://lkml.kernel.org/r/20251201094754.4149975-5-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Stevens <stevensd@google.com>
Cc: Minchan Kim <minchan@google.com>
Cc: Richard Chang <richardycc@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/zram/zram_drv.c