diff options
author | Alexander Aring <aahringo@redhat.com> | 2021-05-21 15:08:35 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-05-25 09:22:20 -0500 |
commit | b38bc9c2b3171f4411d80015ecb876bc6f9bcd26 (patch) | |
tree | 965d053610bfa684e7294ce938e107bee1cb4792 /drivers/s390/cio/chp.c | |
parent | 2df6b7627a81b1407378125246eacdb1d8c90036 (diff) |
fs: dlm: fix srcu read lock usage
This patch holds the srcu connection read lock in cases where we lookup
the connections and accessing it. We don't hold the srcu lock in workers
function where the scheduled worker is part of the connection itself.
The connection should not be freed if any worker is scheduled or
pending.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'drivers/s390/cio/chp.c')
0 files changed, 0 insertions, 0 deletions