--- linux-2.5.3/fs/reiserfs/journal.c.orig Thu Jan 31 09:25:23 2002
+++ linux-2.5.3/fs/reiserfs/journal.c Tue Feb 5 16:58:49 2002
@@ -797,7 +797,7 @@
while(cn) {
if (cn->blocknr != 0) {
if (debug) {
- printk("block %lu, bh is %d, state %d\n", cn->blocknr, cn->bh ? 1: 0,
+ printk("block %lu, bh is %d, state %ld\n", cn->blocknr, cn->bh ? 1: 0,
cn->state) ;
}
cn->state = 0 ;
--- linux-2.5.3/fs/reiserfs/procfs.c.orig Thu Jan 31 09:25:23 2002
+++ linux-2.5.3/fs/reiserfs/procfs.c Tue Feb 5 17:05:15 2002
@@ -465,7 +465,7 @@
"jp_journal_max_trans_age: \t%i\n"
/* incore fields */
"j_1st_reserved_block: \t%i\n"
- "j_state: \t%i\n"
+ "j_state: \t%li\n"
"j_trans_id: \t%lu\n"
"j_mount_id: \t%lu\n"
"j_start: \t%lu\n"
--- linux-2.5.3/include/linux/reiserfs_fs_sb.h.orig Thu Jan 31 09:25:24 2002
+++ linux-2.5.3/include/linux/reiserfs_fs_sb.h Tue Feb 5 17:03:30 2002
@@ -131,7 +131,7 @@
struct buffer_head *bh ; /* real buffer head */
struct super_block *sb ; /* dev of real buffer head */
unsigned long blocknr ; /* block number of real buffer head, == 0 when buffer on disk */
- int state ;
+ long state ;
struct reiserfs_journal_list *jlist ; /* journal list this cnode lives in */
struct reiserfs_journal_cnode *next ; /* next in transaction list */
struct reiserfs_journal_cnode *prev ; /* prev in transaction list */
@@ -199,7 +199,7 @@
struct block_device *j_dev_bd;
int j_1st_reserved_block; /* first block on s_dev of reserved area journal */
- int j_state ;
+ long j_state ;
unsigned long j_trans_id ;
unsigned long j_mount_id ;
unsigned long j_start ; /* start of current waiting commit (index into j_ap_blocks) */