Whamcloud - gitweb
LU-8119 osd: remove dcb entry from the list prior processing. 02/24202/6
authorMikhal Pershin <mike.pershin@intel.com>
Wed, 7 Dec 2016 16:23:03 +0000 (19:23 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Apr 2017 04:43:04 +0000 (04:43 +0000)
commitaa64476cef7d5f0050de20839925868013caa0b6
treecdac11d351d48c08bec5b391d83d281eac230503
parentde10075373c80cb0200726ea4f13eddcf38895fd
LU-8119 osd: remove dcb entry from the list prior processing.

The osd_trans_commit_cb() processes list of commit callbacks
but there is list_del_init() missed prior calling dcb_func().
The dcb_func() call frees dcb entry itself, so list head become
corrupted. Patch adds this list_del_init().

Signed-off-by: Mikhal Pershin <mike.pershin@intel.com>
Change-Id: I561add170f408a7d16631424218b2a049d81f4fd
Reviewed-on: https://review.whamcloud.com/24202
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/osd-zfs/osd_handler.c