1/* 2 * journal.h 3 * 4 * Copyright (C) 2000 Andreas Dilger 5 * Copyright (C) 2000 Theodore Ts'o 6 * 7 * Parts of the code are based on fs/jfs/journal.c by Stephen C. Tweedie 8 * Copyright (C) 1999 Red Hat Software 9 * 10 * This file may be redistributed under the terms of the 11 * GNU General Public License version 2 or at your discretion 12 * any later version. 13 */ 14 15#include "jfs_user.h" 16 17/* journal.c */ 18errcode_t ext2fs_open_journal(ext2_filsys fs, journal_t **j); 19errcode_t ext2fs_close_journal(ext2_filsys fs, journal_t **j); 20errcode_t ext2fs_run_ext3_journal(ext2_filsys *fs); 21void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh); 22void jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh); 23void jbd2_descr_block_csum_set(journal_t *j, struct buffer_head *bh); 24void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, 25 struct buffer_head *bh, __u32 sequence); 26