Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 565e0450 authored by Aliaksei Karaliou's avatar Aliaksei Karaliou Committed by Shaohua Li
Browse files

md/raid5: simplify uninitialization of shrinker



Don't use shrinker.nr_deferred to check whether shrinker was
initialized or not. Now this check was integrated into
unregister_shrinker(), so it is safe to call it against
unregistered shrinker.

Signed-off-by: default avatarAliaksei Karaliou <akaraliou.dev@gmail.com>
Signed-off-by: default avatarShaohua Li <sh.li@alibaba-inc.com>
parent c786427f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment