projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3635d00
)
Julia Lawall reported this null pointer dereference, this should fix it.
author
Mike Marshall
<hubcap@omnibond.com>
Wed, 14 Feb 2024 20:57:53 +0000
(15:57 -0500)
committer
Mike 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/orangefs/super.c
b/fs/orangefs/super.c
index d5a71df63d4e5fac3a11658b01280febfdd3d0fe..34849b4a3243ca5a2d27114d8a6f5f0a6074d329 100644
(file)
--- a/
fs/orangefs/super.c
+++ b/
fs/orangefs/super.c
@@
-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,