aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/jbd.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-04-07 06:33:03 -0400
committerJan Kara <jack@suse.cz>2012-05-15 17:34:36 -0400
commit9754e39c7bc51328f145e933bfb0df47cd67b6e9 (patch)
treed2fa043f74939d049d6934aea6ab7b1c272be8a5 /include/linux/jbd.h
parentf72cf5e223a28d3b3ea7dc9e40464fd534e359e8 (diff)
jbd: Split updating of journal superblock and marking journal empty
There are three case of updating journal superblock. In the first case, we want to mark journal as empty (setting s_sequence to 0), in the second case we want to update log tail, in the third case we want to update s_errno. Split these cases into separate functions. It makes the code slightly more straightforward and later patches will make the distinction even more important. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/jbd.h')
-rw-r--r--include/linux/jbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index f265682ae134..9716d370c501 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -864,7 +864,7 @@ extern int journal_destroy (journal_t *);
864extern int journal_recover (journal_t *journal); 864extern int journal_recover (journal_t *journal);
865extern int journal_wipe (journal_t *, int); 865extern int journal_wipe (journal_t *, int);
866extern int journal_skip_recovery (journal_t *); 866extern int journal_skip_recovery (journal_t *);
867extern void journal_update_superblock (journal_t *, int); 867extern void journal_update_sb_log_tail (journal_t *);
868extern void journal_abort (journal_t *, int); 868extern void journal_abort (journal_t *, int);
869extern int journal_errno (journal_t *); 869extern int journal_errno (journal_t *);
870extern void journal_ack_err (journal_t *); 870extern void journal_ack_err (journal_t *);