Whamcloud - gitweb
LU-13508 mdc: chlg device could be used after free 58/38658/4
authorHongchao Zhang <hongchao@whamcloud.com>
Tue, 19 May 2020 16:21:41 +0000 (00:21 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 Jun 2020 16:50:18 +0000 (16:50 +0000)
commit1e992e94eaf8ac9db2f6a7405cb9b8daf72ed742
tree4c19f1236cb9b3932b0b263b312efc48a0e82cd8
parent350cd07b27f94e02203274913d89b659bda06f86
LU-13508 mdc: chlg device could be used after free

There are some issue of the usage of dynamic devices used by
the changelog in MDC, which could cause the device to be used
after it is freed.

Change-Id: Iacf6fa7c8b612f1a373091cf88e7082c4860cfe4
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/38658
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_changelog.c
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_request.c