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

2016-09-21 Thread Shaohua Li
On Tue, Sep 20, 2016 at 10:33:57AM +0800, Chao Yu wrote: > 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 raid5 configuration was setup successfully. > > Signed-off-by

[PATCH] raid5: fix to detect failure of register_shrinker

2016-09-19 Thread 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 raid5 configuration was setup successfully. Signed-off-by: Chao Yu --- drivers/md/raid5.c | 7 ++- 1 file changed, 6 i