Re: [PATCH] zram: Fix unbalanced idr management at hot removal
From: Minchan Kim
Date: Mon Nov 21 2016 - 20:23:40 EST
Hi Sergey,
On Tue, Nov 22, 2016 at 10:09:30AM +0900, Sergey Senozhatsky wrote:
> 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+]
17ec4cd98578 marked as stable: [4.2+] so we should mark this patch as
4.2+.
Thanks.
>
> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
>
> -ss