orangefs: remove needless wrapper around GFP_KERNEL

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
Martin Brandenburg
2016-03-18 13:36:45 -04:00
committed by Mike Marshall
parent 93d53a4885
commit 05d31c5cb3
2 changed files with 1 additions and 5 deletions

View File

@@ -360,8 +360,7 @@ static int orangefs_fill_sb(struct super_block *sb,
struct orangefs_object_kref root_object;
/* alloc and init our private orangefs sb info */
sb->s_fs_info =
kzalloc(sizeof(struct orangefs_sb_info_s), ORANGEFS_GFP_FLAGS);
sb->s_fs_info = kzalloc(sizeof(struct orangefs_sb_info_s), GFP_KERNEL);
if (!ORANGEFS_SB(sb))
return -ENOMEM;
ORANGEFS_SB(sb)->sb = sb;