diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-05-01 15:34:09 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-01 15:34:09 +0300 |
commit | 2d5abb9a1e8e92b25e781f0c3537a5b3b4b2f033 (patch) | |
tree | 1cc5b9495544380825b8c540d600c05ee5de4d91 /drivers/md/bcache/journal.c | |
parent | 12adb7a013e318de553ccee4a006a718667972b3 (diff) | |
download | linux-2d5abb9a1e8e92b25e781f0c3537a5b3b4b2f033.tar.xz |
bcache: make is_discard_enabled() static
It's not used outside this file.
Fixes: 631207314d88 ("bcache: fix failure in journal relplay")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/journal.c')
-rw-r--r-- | drivers/md/bcache/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c index f9afb164b887..12dae9348147 100644 --- a/drivers/md/bcache/journal.c +++ b/drivers/md/bcache/journal.c @@ -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; |