Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c69991aa authored by Sunil Mushran's avatar Sunil Mushran Committed by Mark Fasheh
Browse files

[PATCH 1/2] ocfs2: Add counter in struct ocfs2_dinode to track journal replays



This patch renames the ij_pad to ij_recovery_generation in struct ocfs2_dinode.
This will be used to keep count of journal replays after an unclean shutdown.

Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
parent ecb3d28c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -660,7 +660,10 @@ struct ocfs2_dinode {
		struct {		/* Info for journal system
					   inodes */
			__le32 ij_flags;	/* Mounted, version, etc. */
			__le32 ij_pad;
			__le32 ij_recovery_generation; /* Incremented when the
							  journal is recovered
							  after an unclean
							  shutdown */
		} journal1;
	} id1;				/* Inode type dependant 1 */
/*C0*/	union {