From: Mike Marshall Date: Wed, 14 Feb 2024 20:57:53 +0000 (-0500) Subject: Julia Lawall reported this null pointer dereference, this should fix it. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9bf93dcfc453fae192fe5d7874b89699e8f800ac;p=linux.git Julia Lawall reported this null pointer dereference, this should fix it. Signed-off-by: Mike Marshall --- diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c index d5a71df63d4e5..34849b4a3243c 100644 --- a/fs/orangefs/super.c +++ b/fs/orangefs/super.c @@ -527,7 +527,7 @@ struct dentry *orangefs_mount(struct file_system_type *fst, sb->s_fs_info = kzalloc(sizeof(struct orangefs_sb_info_s), GFP_KERNEL); if (!ORANGEFS_SB(sb)) { d = ERR_PTR(-ENOMEM); - goto free_sb_and_op; + goto free_op; } ret = orangefs_fill_sb(sb,