From: Theodore Ts'o Subject: Re: mbcache: fix to detect failure of register_shrinker Date: Wed, 31 Aug 2016 11:48:31 -0400 Message-ID: <20160831154831.y4234emrgvh5bwka@thunk.org> References: <1463411798-2597-1-git-send-email-chao@kernel.org> <20160705201625.GA18568@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: jack@suse.cz, viro@zeniv.linux.org.uk, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, Chao Yu To: Chao Yu Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Wed, Aug 31, 2016 at 11:31:17PM +0800, Chao Yu wrote: > On 2016/7/6 4:16, Theodore Ts'o wrote: > > On Mon, May 16, 2016 at 11:16:38PM +0800, Chao Yu wrote: > >> From: Chao Yu > >> > >> register_shrinker in mb_cache_create may fail due to no memory. This > >> patch fixes to do the check of return value of register_shrinker and > >> handle the error case, otherwise mb_cache_create may return with no > >> error, but losing the inner shrinker. > >> > >> Signed-off-by: Chao Yu > >> Reviewed-by: Jan Kara > > > > Applied, thanks. (Apologies for the delay; this patch slipped through > > the cracks.) > > Ping, didn't see it in mainline, is this patch still under testing now? I'm sorry, I'm not sure how it got dropped, but it's not in mainline and I'm not sure how it got dropped from the ext4 tree. It's now queued up in the dev tree. Thanks for checking back, - Ted