Re: [PATCH] zram: Fix unbalanced idr management at hot removal

From: Sergey Senozhatsky
Date: Mon Nov 21 2016 - 20:23:15 EST


Cc Andrew

On (11/22/16 09:11), Minchan Kim wrote:
[..]
> > This patch adds the proper error check in hot_remove_store() not to
> > call idr_remove() unconditionally.
> >
> > Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1010970
> > Reported-and-tested-by: David Disseldorp <ddiss@xxxxxxx>
> > Reviewed-by: David Disseldorp <ddiss@xxxxxxx>
> > Cc: <stable@xxxxxxxxxxxxxxx>
> > Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>


> Acked-by: Minchan Kim <minchan@xxxxxxxxxx>

Link: lkml.kernel.org/r/20161121132140.12683-1-tiwai@xxxxxxx
Fixes: 17ec4cd98578 ("zram: don't call idr_remove() from zram_remove()")
Cc: <stable@xxxxxxxxxxxxxxx> [4.5+]

Acked-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

-ss