diff options
| author | Lizhi Xu <[email protected]> | 2023-10-09 09:45:57 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-10-28 11:29:22 +0000 |
| commit | 6306ff39a7fcb7e9c59a00e6860b933b71a2ed3e (patch) | |
| tree | f3fb80d090096bbe608a458e38f582c5c279bd02 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | bcache: Fixup error handling in register_cache() (diff) | |
| download | kernel-6306ff39a7fcb7e9c59a00e6860b933b71a2ed3e.tar.gz kernel-6306ff39a7fcb7e9c59a00e6860b933b71a2ed3e.zip | |
jfs: fix log->bdev_handle null ptr deref in lbmStartIO
When sbi->flag is JFS_NOINTEGRITY in lmLogOpen(), log->bdev_handle can't
be inited, so it value will be NULL.
Therefore, add the "log ->no_integrity=1" judgment in lbmStartIO() to avoid such
problems.
Reported-and-tested-by: [email protected]
Signed-off-by: Lizhi Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
