mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
Julia Lawall reported this null pointer dereference, this should fix it.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
parent
3635d000f0
commit
9bf93dcfc4
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user