[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160705201625.GA18568@thunk.org>
Date: Tue, 5 Jul 2016 16:16:25 -0400
From: Theodore Ts'o <tytso@....edu>
To: Chao Yu <chao@...nel.org>
Cc: jack@...e.cz, viro@...iv.linux.org.uk, linux-ext4@...r.kernel.org,
linux-fsdevel@...r.kernel.org, Chao Yu <yuchao0@...wei.com>
Subject: Re: mbcache: fix to detect failure of register_shrinker
On Mon, May 16, 2016 at 11:16:38PM +0800, Chao Yu wrote:
> From: Chao Yu <yuchao0@...wei.com>
>
> 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 <yuchao0@...wei.com>
> Reviewed-by: Jan Kara <jack@...e.cz>
Applied, thanks. (Apologies for the delay; this patch slipped through
the cracks.)
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists