diff options
| author | Chao Yu <[email protected]> | 2024-04-12 06:36:38 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-04-15 17:31:15 +0000 |
| commit | 3078e059a5e984663c5c2b04485375c84c2700f9 (patch) | |
| tree | ac15378e83c7da7c6143427915a74fb76f549c04 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | bcachefs: Check for backpointer bucket_offset >= bucket size (diff) | |
| download | kernel-3078e059a5e984663c5c2b04485375c84c2700f9.tar.gz kernel-3078e059a5e984663c5c2b04485375c84c2700f9.zip | |
bcachefs: fix error path of __bch2_read_super()
In __bch2_read_super(), if kstrdup() fails, it needs to release memory
in sb->holder, fix to call bch2_free_super() in the error path.
Signed-off-by: Chao Yu <[email protected]>
Reviewed-by: Hongbo Li <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
