Julia Lawall reported this null pointer dereference, this should fix it.
authorMike Marshall <hubcap@omnibond.com>
Wed, 14 Feb 2024 20:57:53 +0000 (15:57 -0500)
committerMike Marshall <hubcap@omnibond.com>
Wed, 14 Feb 2024 20:57:53 +0000 (15:57 -0500)
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/super.c

index d5a71df63d4e5fac3a11658b01280febfdd3d0fe..34849b4a3243ca5a2d27114d8a6f5f0a6074d329 100644 (file)
@@ -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,