projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcache: check and set sync status on cache's in-memory super block
[platform/kernel/linux-starfive.git]
/
drivers
/
md
/
bcache
/
journal.c
diff --git
a/drivers/md/bcache/journal.c
b/drivers/md/bcache/journal.c
index
ab0d06e
..
cd46f33
100644
(file)
--- a/
drivers/md/bcache/journal.c
+++ b/
drivers/md/bcache/journal.c
@@
-915,7
+915,7
@@
atomic_t *bch_journal(struct cache_set *c,
if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &c->flags)))
return NULL;
- if (!CACHE_SYNC(&c->sb))
+ if (!CACHE_SYNC(&c->
cache->
sb))
return NULL;
w = journal_wait_for_write(c, bch_keylist_nkeys(keys));