summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/super.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-03-18 13:36:45 -0400
committerMike Marshall <hubcap@omnibond.com>2016-03-23 17:36:15 -0400
commit05d31c5cb34cbdf05f9326b276be03756abb4b70 (patch)
tree837b869658aa0e8fd283b8728e7e5775d42921ef /fs/orangefs/super.c
parent93d53a488571fb8f8ceaba09352dcf4dfa1fc4e0 (diff)
downloadlinux-05d31c5cb34cbdf05f9326b276be03756abb4b70.tar.gz
linux-05d31c5cb34cbdf05f9326b276be03756abb4b70.tar.bz2
linux-05d31c5cb34cbdf05f9326b276be03756abb4b70.zip
orangefs: remove needless wrapper around GFP_KERNEL
Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/super.c')
-rw-r--r--fs/orangefs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index eac24eb7fe80..1eeb0093b62c 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -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;