summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/journal.c
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2022-05-22 23:03:29 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-05-22 23:03:29 +0200
commitda50aad6d86716aa48a2b8463c85caea77c0355f (patch)
treec9604cc380e99e613c25ec06cbfcd5009c4575ba /drivers/md/bcache/journal.c
parentpower: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm... (diff)
parentpower: supply: ab8500_fg: Allocate wq in probe (diff)
downloadlinux-da50aad6d86716aa48a2b8463c85caea77c0355f.tar.xz
linux-da50aad6d86716aa48a2b8463c85caea77c0355f.zip
Merge power-supply 'fixes' branch
Merge power-supply fixes, that missed the v5.18 merge window into power-supply's for-next branch. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/md/bcache/journal.c')
-rw-r--r--drivers/md/bcache/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c
index 7c2ca52ca3e4..df5347ea450b 100644
--- a/drivers/md/bcache/journal.c
+++ b/drivers/md/bcache/journal.c
@@ -771,12 +771,12 @@ static void journal_write_unlocked(struct closure *cl)
bio_reset(bio, ca->bdev, REQ_OP_WRITE |
REQ_SYNC | REQ_META | REQ_PREFLUSH | REQ_FUA);
- bch_bio_map(bio, w->data);
bio->bi_iter.bi_sector = PTR_OFFSET(k, i);
bio->bi_iter.bi_size = sectors << 9;
bio->bi_end_io = journal_write_endio;
bio->bi_private = w;
+ bch_bio_map(bio, w->data);
trace_bcache_journal_write(bio, w->data->keys);
bio_list_add(&list, bio);