Commit 2d5abb9a authored by Jens Axboe's avatar Jens Axboe

bcache: make is_discard_enabled() static

It's not used outside this file.

Fixes: 63120731 ("bcache: fix failure in journal relplay")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 12adb7a0
...@@ -318,7 +318,7 @@ void bch_journal_mark(struct cache_set *c, struct list_head *list) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment