commit | e6c352dbc0f4dc7e3f82feafb9e6207c5814a189 | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Sat Feb 03 03:04:20 2007 -0800 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Wed Mar 14 14:37:12 2007 -0700 |
tree | 796049268fa7a90ee87f2f01a109354f7a54ce01 | |
parent | c24f72cc7ca829bbad0532ddf315ace3ae1c359e [diff] |
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 <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>