Re: [PATCH] gfs2: fix to detect failure of register_shrinker

From: Bob Peterson
Date: Wed Sep 21 2016 - 13:36:28 EST


----- Original Message -----
| From: Chao Yu <yuchao0@xxxxxxxxxx>
|
| 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 <yuchao0@xxxxxxxxxx>
| ---
| 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