projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12adb7a
)
bcache: make is_discard_enabled() static
author
Jens Axboe
<axboe@kernel.dk>
Wed, 1 May 2019 12:34:09 +0000
(06:34 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 1 May 2019 12:34:09 +0000
(06:34 -0600)
It's not used outside this file.
Fixes:
631207314d88
("bcache: fix failure in journal relplay")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/journal.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/journal.c
b/drivers/md/bcache/journal.c
index
f9afb16
..
12dae93
100644
(file)
--- 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;