aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid5-cache.c')
-rw-r--r--drivers/md/raid5-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5-cache.c b/drivers/md/raid5-cache.c
index 998ea0025dd0..981f85515191 100644
--- a/drivers/md/raid5-cache.c
+++ b/drivers/md/raid5-cache.c
@@ -1156,6 +1156,7 @@ create:
1156 if (create_super) { 1156 if (create_super) {
1157 log->last_cp_seq = prandom_u32(); 1157 log->last_cp_seq = prandom_u32();
1158 cp = 0; 1158 cp = 0;
1159 r5l_log_write_empty_meta_block(log, cp, log->last_cp_seq);
1159 /* 1160 /*
1160 * Make sure super points to correct address. Log might have 1161 * Make sure super points to correct address. Log might have
1161 * data very soon. If super hasn't correct log tail address, 1162 * data very soon. If super hasn't correct log tail address,