Whamcloud - gitweb
LU-18813 osd: fix dcb_func LASSERT 04/59304/2
authorTimothy Day <timday@amazon.com>
Tue, 20 May 2025 04:53:02 +0000 (00:53 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Jun 2025 23:03:55 +0000 (23:03 +0000)
commitb2ba8bc96cfe17ca3e6b65351abbc14313e0d68f
tree4363d2186b29efc30b1e09565be59f9e148c7196
parented5c93a97c16db018b4b4e53910bada3669ba29b
LU-18813 osd: fix dcb_func LASSERT

Each OSD was incorrectly asserting that the
address of the function pointer was not NULL,
instead of the function pointer itself.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ie5682a9d80219743ecb86d8d463cbabcdbf77b64
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59304
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-wbcfs/osd_handler.c
lustre/osd-zfs/osd_handler.c