On (02/03/15 13:50), Minchan Kim wrote:
> Signed-off-by: Minchan Kim <[email protected]>

Acked-by: Sergey Senozhatsky <[email protected]>

> ---
>  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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to