bcache: make is_discard_enabled() static

It's not used outside this file.

Fixes: 631207314d ("bcache: fix failure in journal relplay")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe 2019-05-01 06:34:09 -06:00
parent 12adb7a013
commit 2d5abb9a1e
1 changed files with 1 additions and 1 deletions

View File

@ -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;