diff options
author | Mike Marshall <hubcap@omnibond.com> | 2024-02-14 15:57:53 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2024-02-14 15:57:53 -0500 |
commit | 9bf93dcfc453fae192fe5d7874b89699e8f800ac (patch) | |
tree | 75d1b425aafd53d7ae3bcacc6e91c8e1e8a3d9ad /fs/orangefs | |
parent | 3635d000f04b709c575bfbe5c6d1f0e1c0135fa1 (diff) |
Julia Lawall reported this null pointer dereference, this should fix it.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-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 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, |