Whamcloud - gitweb
LU-14024 ofd: Avoid use after free in ofd_inconsistency_verification_main 81/40881/3
authorOleg Drokin <green@whamcloud.com>
Mon, 12 Oct 2020 20:12:55 +0000 (16:12 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 4 Mar 2021 08:35:46 +0000 (08:35 +0000)
commitb1e0ba8cfc5fd1aa000841b55420e89a96d9f6bc
tree7555c87ba6a311d3828a248a795960a211b6e32e
parent515255019d4589354eb3bf393dabc689fc37407c
LU-14024 ofd: Avoid use after free in ofd_inconsistency_verification_main

The ofd_inconsistency_lock should not be unlocked after we woken up
a different thread that is going to free the structure containing
said lock.

Lustre-commit: 1123bbd3fc4d5abeb111ddc6bd762d1fb2c1ce82
Lustre-change: https://review.whamcloud.com/40222

Change-Id: I913e7470664e1128a250597b0a803f791d99099e
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/40881
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ofd/ofd_io.c