5 #include <linux/list.h>
7 #ifdef HAVE_NETINET_IN_H
8 #include <netinet/in.h>
18 #define cpu_to_be32(n) htonl(n)
19 #define be32_to_cpu(n) ntohl(n)
22 typedef struct journal_s journal_t;
29 unsigned long j_flags;
31 struct buffer_head * j_sb_buffer;
32 struct journal_superblock_s *j_superblock;
37 unsigned long j_first, j_last;
40 unsigned int j_blk_offset;
41 unsigned int j_maxlen;
42 struct inode * j_inode;
43 tid_t j_tail_sequence;
44 tid_t j_transaction_sequence;
46 struct jfs_revoke_table_s *j_revoke;
49 #define J_ASSERT(assert) \
50 do { if (!(assert)) { \
51 printf ("Assertion failure in %s() at %s line %d: " \
53 __FUNCTION__, __FILE__, __LINE__, # assert); \
54 fatal_error(e2fsck_global_ctx, 0); \
57 #define is_journal_abort(x) 0
59 /* Need this so we can compile with configure --enable-gcc-wall */
60 #ifdef NO_INLINE_FUNCS
64 #endif /* _JFS_COMPAT_H */