mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
Julia Lawall reported this null pointer dereference, this should fix it.
[ Upstream commit 9bf93dcfc4
]
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d3361f0733
commit
b972e8ac3f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
sb->s_fs_info = kzalloc(sizeof(struct orangefs_sb_info_s), GFP_KERNEL);
|
||||||
if (!ORANGEFS_SB(sb)) {
|
if (!ORANGEFS_SB(sb)) {
|
||||||
d = ERR_PTR(-ENOMEM);
|
d = ERR_PTR(-ENOMEM);
|
||||||
goto free_sb_and_op;
|
goto free_op;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = orangefs_fill_sb(sb,
|
ret = orangefs_fill_sb(sb,
|
||||||
|
|
Loading…
Reference in a new issue