dect
/
linux-2.6
Archived
13
0
Fork 0

[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: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
This commit is contained in:
Sunil Mushran 2008-07-14 17:31:09 -07:00 committed by Mark Fasheh
parent ecb3d28c7e
commit c69991aac7
1 changed files with 4 additions and 1 deletions

View File

@ -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 {