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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;