summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2024-02-14 15:57:53 -0500
committerMike Marshall <hubcap@omnibond.com>2024-02-14 15:57:53 -0500
commit9bf93dcfc453fae192fe5d7874b89699e8f800ac (patch)
tree75d1b425aafd53d7ae3bcacc6e91c8e1e8a3d9ad
parent3635d000f04b709c575bfbe5c6d1f0e1c0135fa1 (diff)
downloadlinux-9bf93dcfc453fae192fe5d7874b89699e8f800ac.tar.gz
linux-9bf93dcfc453fae192fe5d7874b89699e8f800ac.tar.bz2
linux-9bf93dcfc453fae192fe5d7874b89699e8f800ac.zip
Julia Lawall reported this null pointer dereference, this should fix it.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
-rw-r--r--fs/orangefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index d5a71df63d4e..34849b4a3243 100644
--- 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,