aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bitmap.c')
-rw-r--r--drivers/md/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
index 670eb01a5a23..e1c18aa1d712 100644
--- a/drivers/md/bitmap.c
+++ b/drivers/md/bitmap.c
@@ -1309,7 +1309,7 @@ int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sect
1309 case 1: 1309 case 1:
1310 *bmc = 2; 1310 *bmc = 2;
1311 } 1311 }
1312 if ((*bmc & COUNTER_MAX) == COUNTER_MAX) BUG(); 1312 BUG_ON((*bmc & COUNTER_MAX) == COUNTER_MAX);
1313 (*bmc)++; 1313 (*bmc)++;
1314 1314
1315 spin_unlock_irq(&bitmap->lock); 1315 spin_unlock_irq(&bitmap->lock);