From: Joel Becker Date: Sat, 3 Feb 2007 11:04:20 +0000 (-0800) Subject: ocfs2: Concurrent access of o2hb_region->hr_task was not locked X-Git-Tag: v2.6.21-rc4~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6c352dbc0f4dc7e3f82feafb9e6207c5814a189;p=pandora-kernel.git 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: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed