Whamcloud - gitweb
LU-16745 mdc: md_open_data should keep ref on close_req 56/50656/3
authorLi Dongyang <dongyangli@ddn.com>
Mon, 17 Apr 2023 11:13:03 +0000 (21:13 +1000)
committerOleg Drokin <green@whamcloud.com>
Wed, 31 May 2023 19:13:22 +0000 (19:13 +0000)
commitca716f763f89af192ab86678ee9d14f49c80cae6
tree48a22d058b0cd9f12da9edcc4d76f0c661054a51
parent2247cf23ce55398ea4bebc1f8093275534736a0a
LU-16745 mdc: md_open_data should keep ref on close_req

md_open_data should keep a ref on mod_close_req,
otherwise the mod_close_req could be freed before
we try to access mod_close_req via md_open_data.

Change-Id: I621f7db389854326db298d99957a0bce43024b6e
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50656
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/mdc/mdc_request.c