Skip to content
Commit 25c72f37 authored by Akinbou Mita's avatar Akinbou Mita Committed by Adrian Bunk
Browse files

md: fix /proc/mdstat refcounting



I have seen mdadm oops after successfully unloading md module.

This patch privents from unloading md module while
mdadm is polling /proc/mdstat.

Signed-off-by: default avatarAkinbou Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 36c8a3d3
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