Whamcloud - gitweb
LU-16837 lov: NULL dereference in lov_delete_composite
authorBobi Jam <bobijam@whamcloud.com>
Wed, 25 Oct 2023 06:52:20 +0000 (14:52 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 27 Oct 2023 21:43:34 +0000 (21:43 +0000)
commitfd2e25765d5083340f5628bc1a0d224884ff7128
treece07093e1aaa23a27368c377a03c1d605ad45ca9
parentcea06426c2451695366bf7ca70f1f50420a7c86c
LU-16837 lov: NULL dereference in lov_delete_composite

commit 14ed4a6f8f retroduced the issue fixed by commit
5da049d9ef ("LU-14389 lov: avoid NULL dereference in cleanup), this
patch makes the fix cover the new case added by 14ed4a6f8f.

Lustre-change: https://review.whamcloud.com/52826
Lustre-commit: TBD (from 10b4a14b389cb00e1033e2f49e3d1f5a554b259a)

Fixes: 14ed4a6f8f ("LU-16837 llite: handle unknown layout component")
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I4a2b72e21139b60519ed523b4851723c91f523c1
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52827
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lov/lov_object.c