diff options
author | 2023-01-25 22:57:42 +0100 | |
---|---|---|
committer | 2023-02-14 14:23:06 -0500 | |
commit | 96422281baf57f4d9418581fdfaca9617bb805e1 (patch) | |
tree | e4eaaa5be5e4ef30d733ad17d31d0747fecf3111 /drivers/md/dm-bio-prison-v2.c | |
parent | dm: avoid initializing static variables (diff) | |
download | linux-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.c | 2 |
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; |