diff -urNp --exclude CVS --exclude BitKeeper --exclude {arch} --exclude .arch-ids x-ref/fs/jfs/jfs_logmgr.c x/fs/jfs/jfs_logmgr.c --- x-ref/fs/jfs/jfs_logmgr.c 2004-05-31 13:09:44.734206888 +0200 +++ x/fs/jfs/jfs_logmgr.c 2004-05-31 13:10:24.851108192 +0200 @@ -1693,7 +1693,7 @@ static int lbmLogInit(struct jfs_log * l if (lbuf == 0) goto error; lbuf->l_bh.b_data = lbuf->l_ldata = - (char *) __get_free_page(GFP_KERNEL); + (char *) get_zeroed_page(GFP_KERNEL); if (lbuf->l_ldata == 0) { kfree(lbuf); goto error; diff -urNp --exclude CVS --exclude BitKeeper --exclude {arch} --exclude .arch-ids x-ref/fs/jfs/jfs_metapage.c x/fs/jfs/jfs_metapage.c --- x-ref/fs/jfs/jfs_metapage.c 2003-11-28 23:12:44.000000000 +0100 +++ x/fs/jfs/jfs_metapage.c 2004-05-31 13:10:24.852108040 +0200 @@ -385,6 +385,10 @@ struct metapage *__get_metapage(struct i } mp->data = kmap(mp->page) + page_offset; } + + if (new) + memset(mp->data, 0, PSIZE); + jfs_info("__get_metapage: returning = 0x%p", mp); return mp; diff -urNp --exclude CVS --exclude BitKeeper --exclude {arch} --exclude .arch-ids x-ref/fs/jfs/super.c x/fs/jfs/super.c --- x-ref/fs/jfs/super.c 2003-11-28 23:12:44.000000000 +0100 +++ x/fs/jfs/super.c 2004-05-31 13:11:07.673598184 +0200 @@ -481,10 +481,10 @@ static void init_once(void *foo, kmem_ca if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) == SLAB_CTOR_CONSTRUCTOR) { + memset(jfs_ip, 0, sizeof(struct jfs_inode_info)); INIT_LIST_HEAD(&jfs_ip->anon_inode_list); init_rwsem(&jfs_ip->rdwrlock); init_MUTEX(&jfs_ip->commit_sem); - jfs_ip->atlhead = 0; jfs_ip->active_ag = -1; } }