From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754815AbcKVBXL (ORCPT ); Mon, 21 Nov 2016 20:23:11 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36512 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754175AbcKVBXK (ORCPT ); Mon, 21 Nov 2016 20:23:10 -0500 Date: Tue, 22 Nov 2016 10:09:30 +0900 From: Sergey Senozhatsky To: Andrew Morton Cc: Takashi Iwai , Nitin Gupta , Sergey Senozhatsky , David Disseldorp , linux-kernel@vger.kernel.org, Minchan Kim , Sergey Senozhatsky Subject: Re: [PATCH] zram: Fix unbalanced idr management at hot removal Message-ID: <20161122010930.GA5197@jagdpanzerIV> References: <20161121132140.12683-1-tiwai@suse.de> <20161122001104.GA31611@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161122001104.GA31611@bbox> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Reviewed-by: David Disseldorp > > Cc: > > Signed-off-by: Takashi Iwai > Acked-by: Minchan Kim Link: lkml.kernel.org/r/20161121132140.12683-1-tiwai@suse.de Fixes: 17ec4cd98578 ("zram: don't call idr_remove() from zram_remove()") Cc: [4.5+] Acked-by: Sergey Senozhatsky -ss