mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 11:16:48 +07:00
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;
|
||||
unsigned int i;
|
||||
|
Loading…
Reference in New Issue
Block a user