提交 2d5abb9a 编写于 作者: J 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: NJens Axboe <axboe@kernel.dk>
上级 12adb7a0
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册