--- zzzz-none-000/linux-2.4.17/fs/jbd/checkpoint.c 2001-11-09 22:25:04.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/fs/jbd/checkpoint.c 2004-11-24 13:22:18.000000000 +0000 @@ -448,11 +448,8 @@ struct journal_head *last_jh = jh->b_cpprev; struct journal_head *next_jh = jh; do { - struct buffer_head *bh; - jh = next_jh; next_jh = jh->b_cpnext; - bh = jh2bh(jh); ret += __try_to_free_cp_buf(jh); } while (jh != last_jh); }