diff options
author | Mike Marshall <hubcap@omnibond.com> | 2024-02-14 15:57:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-13 13:05:08 +0200 |
commit | 2e2177f94c0e0bc41323d7b6975a5f4820ed347e (patch) | |
tree | bd5b98dcb08c0e48596f54ff4982757a8711c586 | |
parent | 3f3c1e735d3e9169df46f724eeb41a0c0e458051 (diff) | |
download | linux-stable-2e2177f94c0e0bc41323d7b6975a5f4820ed347e.tar.gz linux-stable-2e2177f94c0e0bc41323d7b6975a5f4820ed347e.tar.bz2 linux-stable-2e2177f94c0e0bc41323d7b6975a5f4820ed347e.zip |
Julia Lawall reported this null pointer dereference, this should fix it.
[ Upstream commit 9bf93dcfc453fae192fe5d7874b89699e8f800ac ]
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | fs/orangefs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c index 5254256a224d..4ca8ed410c3c 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, |