diff options
Diffstat (limited to 'drivers/block/aoe/aoechr.c')
-rw-r--r-- | drivers/block/aoe/aoechr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c index 0c543d3bfe58..2b5256cc733d 100644 --- a/drivers/block/aoe/aoechr.c +++ b/drivers/block/aoe/aoechr.c | |||
@@ -89,6 +89,7 @@ revalidate(const char __user *str, size_t size) | |||
89 | return -EINVAL; | 89 | return -EINVAL; |
90 | 90 | ||
91 | spin_lock_irqsave(&d->lock, flags); | 91 | spin_lock_irqsave(&d->lock, flags); |
92 | d->flags &= ~DEVFL_MAXBCNT; | ||
92 | d->flags |= DEVFL_PAUSE; | 93 | d->flags |= DEVFL_PAUSE; |
93 | spin_unlock_irqrestore(&d->lock, flags); | 94 | spin_unlock_irqrestore(&d->lock, flags); |
94 | aoecmd_cfg(major, minor); | 95 | aoecmd_cfg(major, minor); |