On (02/03/15 13:50), Minchan Kim wrote: > Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> > --- > drivers/block/zram/zram_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c > index a32069f98afa..cc0e6a3ddb4f 100644 > --- a/drivers/block/zram/zram_drv.c > +++ b/drivers/block/zram/zram_drv.c > @@ -811,7 +811,7 @@ static ssize_t reset_store(struct device *dev, > > mutex_lock(&bdev->bd_mutex); > /* Do not reset an active device! */ > - if (bdev->bd_holders) { > + if (bdev->bd_openers) { > ret = -EBUSY; > goto out; > } -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>