aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-bio-prison-v2.c
diff options
context:
space:
mode:
authorGravatar Heinz Mauelshagen <heinzm@redhat.com> 2023-01-25 22:57:42 +0100
committerGravatar Mike Snitzer <snitzer@kernel.org> 2023-02-14 14:23:06 -0500
commit96422281baf57f4d9418581fdfaca9617bb805e1 (patch)
treee4eaaa5be5e4ef30d733ad17d31d0747fecf3111 /drivers/md/dm-bio-prison-v2.c
parentdm: avoid initializing static variables (diff)
downloadlinux-96422281baf57f4d9418581fdfaca9617bb805e1.tar.gz
linux-96422281baf57f4d9418581fdfaca9617bb805e1.tar.bz2
linux-96422281baf57f4d9418581fdfaca9617bb805e1.zip
dm: address space issues relative to switch/while/for/...
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-bio-prison-v2.c')
-rw-r--r--drivers/md/dm-bio-prison-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-bio-prison-v2.c b/drivers/md/dm-bio-prison-v2.c
index 8c8da49e39cd..fd852981ef9c 100644
--- a/drivers/md/dm-bio-prison-v2.c
+++ b/drivers/md/dm-bio-prison-v2.c
@@ -195,7 +195,7 @@ static bool __put(struct dm_bio_prison_v2 *prison,
// FIXME: shared locks granted above the lock level could starve this
if (!cell->shared_count) {
- if (cell->exclusive_lock){
+ if (cell->exclusive_lock) {
if (cell->quiesce_continuation) {
queue_work(prison->wq, cell->quiesce_continuation);
cell->quiesce_continuation = NULL;