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:
parent
12adb7a013
commit
2d5abb9a1e
|
@ -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;
|
struct cache *ca;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
Loading…
Reference in New Issue