OSDN Git Service

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)
commit99d26de2f6d79badc80f55b54bd90d4cb9d1ad90
treea708371818f6a962a6a22c09a67915b0a99419aa
parent866663b7b52d2da267b28e12eed89ee781b8fed1
writeback: make the laptop_mode prototypes available unconditionally

Fix the !CONFIG_BLOCK build after the recent cleanup.

Fixes: 5ed964f8e54e ("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