Skip to content
Commit 4cb9da7d authored by Alexey Obitotskiy's avatar Alexey Obitotskiy Committed by Shaohua Li
Browse files

Fix kernel module refcount handling



md loads raidX modules and increments module refcount each time level
has changed but does not decrement it. You are unable to unload raid0
module after reshape because raid0 reshape changes level to raid4
and back to raid0.

Signed-off-by: default avatarAleksey Obitotskiy <aleksey.obitotskiy@intel.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 0e3ef49e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment