diff --git a/[refs] b/[refs] index 968f60d21f89..f4dfd61e966e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6e17b17f1fc7b2f24383a693d63550d9e1460081 +refs/heads/master: 425fbf047cc70bb30dff368a6da02c8c2d229318 diff --git a/trunk/mm/shmem.c b/trunk/mm/shmem.c index b4b56fd1e772..b206a7a32e2a 100644 --- a/trunk/mm/shmem.c +++ b/trunk/mm/shmem.c @@ -2309,17 +2309,14 @@ int shmem_fill_super(struct super_block *sb, void *data, int silent) int err = -ENOMEM; /* Round up to L1_CACHE_BYTES to resist false sharing */ - sbinfo = kmalloc(max((int)sizeof(struct shmem_sb_info), + sbinfo = kzalloc(max((int)sizeof(struct shmem_sb_info), L1_CACHE_BYTES), GFP_KERNEL); if (!sbinfo) return -ENOMEM; - sbinfo->max_blocks = 0; - sbinfo->max_inodes = 0; sbinfo->mode = S_IRWXUGO | S_ISVTX; sbinfo->uid = current_fsuid(); sbinfo->gid = current_fsgid(); - sbinfo->mpol = NULL; sb->s_fs_info = sbinfo; #ifdef CONFIG_TMPFS