Thread (6 messages) 6 messages, 3 authors, 2016-08-31

Re: mbcache: fix to detect failure of register_shrinker

From: Chao Yu <chao@kernel.org>
Date: 2016-08-31 15:31:27
Also in: linux-fsdevel

On 2016/7/6 4:16, Theodore Ts'o wrote:
On Mon, May 16, 2016 at 11:16:38PM +0800, Chao Yu wrote:
quoted
From: Chao Yu <redacted>

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 <redacted>
Reviewed-by: Jan Kara <jack@suse.cz>
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?
					- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help