diff options
author | Joel Becker <joel.becker@oracle.com> | 2007-02-03 03:04:20 -0800 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-03-14 14:37:12 -0700 |
commit | e6c352dbc0f4dc7e3f82feafb9e6207c5814a189 (patch) | |
tree | 796049268fa7a90ee87f2f01a109354f7a54ce01 /ipc/msgutil.c | |
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>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions