From: Jens Axboe axboe@kernel.dk
mainline inclusion from mainline-5.2-rc1 commit 2d5abb9a1e8e92b25e781f0c3537a5b3b4b2f033 category: backport
It's not used outside this file.
Fixes: 631207314d88 ("bcache: fix failure in journal relplay") Signed-off-by: Jens Axboe axboe@kernel.dk --- drivers/md/bcache/journal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c index a2a093f0fc76..cc6f21061ed7 100644 --- a/drivers/md/bcache/journal.c +++ b/drivers/md/bcache/journal.c @@ -318,7 +318,7 @@ void bch_journal_mark(struct cache_set *c, struct list_head *list) } }
-bool is_discard_enabled(struct cache_set *s) +static bool is_discard_enabled(struct cache_set *s) { struct cache *ca; unsigned int i;