aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/mmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/mmp.c b/fs/ext4/mmp.c
index 6b327423e622..7ea4ba4eff2a 100644
--- a/fs/ext4/mmp.c
+++ b/fs/ext4/mmp.c
@@ -296,7 +296,8 @@ skip:
296 /* 296 /*
297 * write a new random sequence number. 297 * write a new random sequence number.
298 */ 298 */
299 mmp->mmp_seq = seq = cpu_to_le32(mmp_new_seq()); 299 seq = mmp_new_seq();
300 mmp->mmp_seq = cpu_to_le32(seq);
300 301
301 retval = write_mmp_block(bh); 302 retval = write_mmp_block(bh);
302 if (retval) 303 if (retval)