Whamcloud - gitweb
LU-17464 lod: set llc_ostlist to NULL after free
authorBobi Jam <bobijam@whamcloud.com>
Wed, 24 Jan 2024 06:04:35 +0000 (14:04 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 29 Jan 2024 08:58:22 +0000 (08:58 +0000)
commit632dcf6e6ba24c9a053bbb2fd071f0c844a13460
treee800a76671487f786c75b8b8a3ea2ec25174bac2
parent94e142711c37c5276553f98ca4792734d8c92a12
LU-17464 lod: set llc_ostlist to NULL after free

Default LOV striping could free component entry llc_ostlist if needed
e.g. expand component entries, without set it to NULL it could be
double allocated/freed later.

Lustre-change: https://review.whamcloud.com/53797
Lustre-commit: TBD (from 5e7440b488050166af15e744dc74b9dc4f0d3b96)

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I25824cb61dd47ba284403039259593b88d25fa9d
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53798
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lod/lod_lov.c