shithub: lwext4

Download patch

ref: 2357dfc97f58c458e110b239b5d147996864ecb5
parent: fa3b47a25d4759afc71556478d1e76bfca27e7ea
author: ngkaho1234 <ngkaho1234@gmail.com>
date: Sun Dec 27 13:57:38 EST 2015

ext4_journal: fix block tag written always be the last tag.

--- a/lwext4/ext4_journal.c
+++ b/lwext4/ext4_journal.c
@@ -1403,6 +1403,8 @@
 		tag_info.uuid_exist = uuid_exist;
 		if (i == trans->data_cnt - 1)
 			tag_info.last_tag = true;
+		else
+			tag_info.last_tag = false;
 
 		if (uuid_exist)
 			memcpy(tag_info.uuid, journal->jbd_fs->sb.uuid,