Commit e0d735c1 authored by Chao Yu's avatar Chao Yu Committed by Bob Peterson
Browse files

gfs2: fix to detect failure of register_shrinker

register_shrinker can fail after commit 1d3d4437

 ("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: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 23e5671a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment