X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fhpfs%2Fsuper.c;h=34074b3782c3a190e5a9a9771d0573f601d81dfd;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=0f61abb18a2713149297318e4884a58bd6bde631;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index 0f61abb18..34074b378 100644 --- a/fs/hpfs/super.c +++ b/fs/hpfs/super.c @@ -191,7 +191,7 @@ static int init_inodecache(void) { hpfs_inode_cachep = kmem_cache_create("hpfs_inode_cache", sizeof(struct hpfs_inode_info), - 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT, + 0, SLAB_RECLAIM_ACCOUNT, init_once, NULL); if (hpfs_inode_cachep == NULL) return -ENOMEM; @@ -542,6 +542,7 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent) sbi->sb_was_error = 0; sbi->sb_cp_table = NULL; sbi->sb_c_bitmap = -1; + sbi->sb_max_fwd_alloc = 0xffffff; /* Load bitmap directory */ if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, superblock->bitmaps)))