Skip to content
Commit e6c352db authored by Joel Becker's avatar Joel Becker Committed by Mark Fasheh
Browse files

ocfs2: Concurrent access of o2hb_region->hr_task was not locked



This means that a build-up and a teardown could race which would result in a
double-kthread_stop().

Protect the setting and clearing of hr_task with o2hb_live_lock, as it's not
a common thing and not performance critical.

Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent c24f72cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment