From: Heinz Mauelshagen <heinzm@xxxxxxxxxx> Signed-off-by: Heinz Mauelshagen <heinzm@xxxxxxxxxx> Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx> --- drivers/md/dm-cache-target.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c index afeda1b..f999ddd 100644 --- a/drivers/md/dm-cache-target.c +++ b/drivers/md/dm-cache-target.c @@ -1448,7 +1448,7 @@ static void start_quiescing(struct cache *cache) unsigned long flags; spin_lock_irqsave(&cache->lock, flags); - cache->quiescing = 1; + cache->quiescing = true; spin_unlock_irqrestore(&cache->lock, flags); } @@ -1457,7 +1457,7 @@ static void stop_quiescing(struct cache *cache) unsigned long flags; spin_lock_irqsave(&cache->lock, flags); - cache->quiescing = 0; + cache->quiescing = false; spin_unlock_irqrestore(&cache->lock, flags); } -- 1.8.1.4 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel