summaryrefslogtreecommitdiff
path: root/block/blk-iocost.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2021-05-21 15:08:35 -0400
committerDavid Teigland <teigland@redhat.com>2021-05-25 09:22:20 -0500
commitb38bc9c2b3171f4411d80015ecb876bc6f9bcd26 (patch)
tree965d053610bfa684e7294ce938e107bee1cb4792 /block/blk-iocost.c
parent2df6b7627a81b1407378125246eacdb1d8c90036 (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 'block/blk-iocost.c')
0 files changed, 0 insertions, 0 deletions