commit | 4cb9da7d9c631514effa5e806f9de7c7c746c3a8 | [log] [tgz] |
---|---|---|
author | Alexey Obitotskiy <aleksey.obitotskiy@intel.com> | Thu Jun 23 12:11:01 2016 +0200 |
committer | Shaohua Li <shli@fb.com> | Tue Jul 19 11:17:31 2016 -0700 |
tree | 077f8129fd8276ec965e537326b53bea2d2bfeec | |
parent | 0e3ef49eda5bae3aa75aa8c0276411bf0f27e03a [diff] |
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: Aleksey Obitotskiy <aleksey.obitotskiy@intel.com> Signed-off-by: Shaohua Li <shli@fb.com>