From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758426AbcIURg0 (ORCPT ); Wed, 21 Sep 2016 13:36:26 -0400 Received: from mx5-phx2.redhat.com ([209.132.183.37]:58329 "EHLO mx5-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758348AbcIURgS (ORCPT ); Wed, 21 Sep 2016 13:36:18 -0400 Date: Wed, 21 Sep 2016 13:36:08 -0400 (EDT) From: Bob Peterson To: Chao Yu Cc: swhiteho@redhat.com, cluster-devel@redhat.com, linux-kernel@vger.kernel.org, Chao Yu Message-ID: <1813719612.1511572.1474479368722.JavaMail.zimbra@redhat.com> In-Reply-To: <1474299961-17951-1-git-send-email-chao@kernel.org> References: <1474299961-17951-1-git-send-email-chao@kernel.org> Subject: Re: [PATCH] gfs2: fix to detect failure of register_shrinker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.3.116.65] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF48 (Linux)/8.0.6_GA_5922) Thread-Topic: gfs2: fix to detect failure of register_shrinker Thread-Index: 8ZgGLZ9PHP4JQNYvIP61qoPBa83j/g== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- | From: Chao Yu | | register_shrinker can fail after commit 1d3d4437eae1 ("vmscan: per-node | deferred work"), we should detect the failure of it, otherwise we may | fail to register shrinker after gfs2 module was been inited successfully. | | Signed-off-by: Chao Yu | --- | fs/gfs2/glock.c | 8 +++++++- | fs/gfs2/main.c | 4 +++- | 2 files changed, 10 insertions(+), 2 deletions(-) | Hi, Thanks. This is now applied to the for-next branch of the linux-gfs2 tree: https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=e0d735c1cc2749598f2d29f60f9a16658fd96ae9 Regards, Bob Peterson Red Hat File Systems