From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Wed, 21 Sep 2016 13:36:08 -0400 (EDT) Subject: [Cluster-devel] [PATCH] gfs2: fix to detect failure of register_shrinker In-Reply-To: <1474299961-17951-1-git-send-email-chao@kernel.org> References: <1474299961-17951-1-git-send-email-chao@kernel.org> Message-ID: <1813719612.1511572.1474479368722.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- 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