summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2008-12-16 15:49:16 -0800
committerMark Fasheh <mfasheh@suse.com>2009-04-03 11:39:14 -0700
commit96a6c64b5354b804b3ccfd1b31306565a01ebcb1 (patch)
treede8bde922d2e5fdb4d0698dc4169b57acd7e4b8b /fs/ocfs2/journal.h
parent87d3d3f3931f3e0fca44fbb5c06ad45fc4dca9bc (diff)
downloadlinux-96a6c64b5354b804b3ccfd1b31306565a01ebcb1.tar.gz
linux-96a6c64b5354b804b3ccfd1b31306565a01ebcb1.tar.bz2
linux-96a6c64b5354b804b3ccfd1b31306565a01ebcb1.zip
ocfs2: Move struct recovery_map to a header file
Move the definition of struct recovery_map from journal.c to journal.h. This is preparation for the next patch. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/journal.h')
-rw-r--r--fs/ocfs2/journal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h
index 172850a9a12a..21601ee3f25a 100644
--- a/fs/ocfs2/journal.h
+++ b/fs/ocfs2/journal.h
@@ -38,6 +38,17 @@ enum ocfs2_journal_state {
struct ocfs2_super;
struct ocfs2_dinode;
+/*
+ * The recovery_list is a simple linked list of node numbers to recover.
+ * It is protected by the recovery_lock.
+ */
+
+struct ocfs2_recovery_map {
+ unsigned int rm_used;
+ unsigned int *rm_entries;
+};
+
+
struct ocfs2_journal {
enum ocfs2_journal_state j_state; /* Journals current state */