Commit 9bf93dcf authored by Mike Marshall's avatar Mike Marshall
Browse files

Julia Lawall reported this null pointer dereference, this should fix it.

parent 3635d000
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,