diff options
| author | Ashish Samant <[email protected]> | 2018-10-05 15:52:15 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-10-05 16:32:05 -0700 |
| commit | cbe355f57c8074bc4f452e5b6e35509044c6fa23 (patch) | |
| tree | c0a25e2225892fe78ea161cac6083c114a923f9e /scripts/gdb/linux/cpus.py | |
| parent | b8e57efa2c98cc56c49461c4950cf026422c29e9 (diff) | |
ocfs2: fix locking for res->tracking and dlm->tracking_list
In dlm_init_lockres() we access and modify res->tracking and
dlm->tracking_list without holding dlm->track_lock. This can cause list
corruptions and can end up in kernel panic.
Fix this by locking res->tracking and dlm->tracking_list with
dlm->track_lock instead of dlm->spinlock.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ashish Samant <[email protected]>
Reviewed-by: Changwei Ge <[email protected]>
Acked-by: Joseph Qi <[email protected]>
Acked-by: Jun Piao <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions