Skip to content

Commit 9bf93dc

Browse files
committed
Julia Lawall reported this null pointer dereference, this should fix it.
Signed-off-by: Mike Marshall <[email protected]>
1 parent 3635d00 commit 9bf93dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/orangefs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ struct dentry *orangefs_mount(struct file_system_type *fst,
527527
sb->s_fs_info = kzalloc(sizeof(struct orangefs_sb_info_s), GFP_KERNEL);
528528
if (!ORANGEFS_SB(sb)) {
529529
d = ERR_PTR(-ENOMEM);
530-
goto free_sb_and_op;
530+
goto free_op;
531531
}
532532

533533
ret = orangefs_fill_sb(sb,

0 commit comments

Comments
 (0)