aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2016-09-21 09:07:13 -0700
committerShaohua Li <shli@fb.com>2016-09-21 09:09:44 -0700
commit30c8946566f32493f7f1143437319c42c8a542e9 (patch)
tree465f5ed5d5452d06fec4c415b5ca3742d70c3ac5 /lib
parentraid5: fix to detect failure of register_shrinker (diff)
downloadlinux-dev-30c8946566f32493f7f1143437319c42c8a542e9.tar.xz
linux-dev-30c8946566f32493f7f1143437319c42c8a542e9.zip
raid5: handle register_shrinker failure
register_shrinker() now can fail. When it happens, shrinker.nr_deferred is null. We use it to determine if unregister_shrinker is required. Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions