]> git.baikalelectronics.ru Git - kernel.git/commit
writeback: make the laptop_mode prototypes available unconditionally
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Aug 2021 12:39:24 +0000 (14:39 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 13:00:50 +0000 (07:00 -0600)
commit77cec4d973d66ceb7c1b96040045596480ee3c53
treea708371818f6a962a6a22c09a67915b0a99419aa
parent9c5d1c8f675ebe8a7526aa881832000b9bf10a9c
writeback: make the laptop_mode prototypes available unconditionally

Fix the !CONFIG_BLOCK build after the recent cleanup.

Fixes: 2fced2278ca6 ("mm: hide laptop_mode_wb_timer entirely behind the BDI API")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/writeback.h