diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/journal.c | 12 | ||||
-rw-r--r-- | fs/ocfs2/journal.h | 11 |
2 files changed, 11 insertions, 12 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index 57d7d25a2b9a..4c8f3557fe93 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c | |||
@@ -76,18 +76,6 @@ static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) | |||
76 | return __ocfs2_wait_on_mount(osb, 1); | 76 | return __ocfs2_wait_on_mount(osb, 1); |
77 | } | 77 | } |
78 | 78 | ||
79 | |||
80 | |||
81 | /* | ||
82 | * The recovery_list is a simple linked list of node numbers to recover. | ||
83 | * It is protected by the recovery_lock. | ||
84 | */ | ||
85 | |||
86 | struct ocfs2_recovery_map { | ||
87 | unsigned int rm_used; | ||
88 | unsigned int *rm_entries; | ||
89 | }; | ||
90 | |||
91 | int ocfs2_recovery_init(struct ocfs2_super *osb) | 79 | int ocfs2_recovery_init(struct ocfs2_super *osb) |
92 | { | 80 | { |
93 | struct ocfs2_recovery_map *rm; | 81 | struct ocfs2_recovery_map *rm; |
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 { | |||
38 | struct ocfs2_super; | 38 | struct ocfs2_super; |
39 | struct ocfs2_dinode; | 39 | struct ocfs2_dinode; |
40 | 40 | ||
41 | /* | ||
42 | * The recovery_list is a simple linked list of node numbers to recover. | ||
43 | * It is protected by the recovery_lock. | ||
44 | */ | ||
45 | |||
46 | struct ocfs2_recovery_map { | ||
47 | unsigned int rm_used; | ||
48 | unsigned int *rm_entries; | ||
49 | }; | ||
50 | |||
51 | |||
41 | struct ocfs2_journal { | 52 | struct ocfs2_journal { |
42 | enum ocfs2_journal_state j_state; /* Journals current state */ | 53 | enum ocfs2_journal_state j_state; /* Journals current state */ |
43 | 54 | ||