diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index eae4473eadde..670eb01a5a23 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -556,7 +556,7 @@ static void bitmap_mask_state(struct bitmap *bitmap, enum bitmap_state bits, | |||
556 | unsigned long flags; | 556 | unsigned long flags; |
557 | 557 | ||
558 | spin_lock_irqsave(&bitmap->lock, flags); | 558 | spin_lock_irqsave(&bitmap->lock, flags); |
559 | if (!bitmap || !bitmap->sb_page) { /* can't set the state */ | 559 | if (!bitmap->sb_page) { /* can't set the state */ |
560 | spin_unlock_irqrestore(&bitmap->lock, flags); | 560 | spin_unlock_irqrestore(&bitmap->lock, flags); |
561 | return; | 561 | return; |
562 | } | 562 | } |