X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fudf%2Fsuper.c;h=fcce1a21a51bdc1c0a095ccc815d35bd6399bf0f;hb=6c44e6b7ab500d7e3e3f406c83325671be51a752;hp=4df822c881b69357038f96f0d91f6231f7da4a15;hpb=a8c4c20dfa8b28a3c99e33c639d9c2ea5657741e;p=powerpc.git diff --git a/fs/udf/super.c b/fs/udf/super.c index 4df822c881..fcce1a21a5 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c @@ -115,6 +115,13 @@ static struct inode *udf_alloc_inode(struct super_block *sb) ei = (struct udf_inode_info *)kmem_cache_alloc(udf_inode_cachep, SLAB_KERNEL); if (!ei) return NULL; + + ei->i_unique = 0; + ei->i_lenExtents = 0; + ei->i_next_alloc_block = 0; + ei->i_next_alloc_goal = 0; + ei->i_strat4096 = 0; + return &ei->vfs_inode; } @@ -1652,7 +1659,7 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent) iput(inode); goto error_out; } - sb->s_maxbytes = MAX_LFS_FILESIZE; + sb->s_maxbytes = 1<<30; return 0; error_out: