summaryrefslogtreecommitdiff
path: root/fs/affs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/affs/super.c')
-rw-r--r--fs/affs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c
index 1a2f72fea1ab..8451647f3fea 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -327,7 +327,7 @@ static int affs_fill_super(struct super_block *sb, struct fs_context *fc)
sb->s_time_min = sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA;
sb->s_time_max = 86400LL * U32_MAX + 86400 + sb->s_time_min;
- sbi = kzalloc_obj(struct affs_sb_info, GFP_KERNEL);
+ sbi = kzalloc_obj(struct affs_sb_info);
if (!sbi)
return -ENOMEM;
@@ -615,7 +615,7 @@ static int affs_init_fs_context(struct fs_context *fc)
{
struct affs_context *ctx;
- ctx = kzalloc_obj(struct affs_context, GFP_KERNEL);
+ ctx = kzalloc_obj(struct affs_context);
if (!ctx)
return -ENOMEM;