patch-2.4.26 linux-2.4.26/fs/jbd/journal.c
Next file: linux-2.4.26/fs/jfs/jfs_dmap.c
Previous file: linux-2.4.26/fs/isofs/rock.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/fs/jbd/journal.c
- Orig date:
2004-02-18 05:36:31.000000000 -0800
diff -urN linux-2.4.25/fs/jbd/journal.c linux-2.4.26/fs/jbd/journal.c
@@ -671,6 +671,7 @@
bh = getblk(journal->j_dev, blocknr, journal->j_blocksize);
lock_buffer(bh);
+ memset(bh->b_data, 0, journal->j_blocksize);
BUFFER_TRACE(bh, "return this buffer");
return journal_add_journal_head(bh);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)