]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: fix /proc/mdstat refcounting
authorAkinbou Mita <akinobu.mita@gmail.com>
Mon, 26 Mar 2007 21:43:10 +0000 (23:43 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 26 Mar 2007 21:43:10 +0000 (23:43 +0200)
commit25c72f37099c2f32e8e6c7311735e7a3a036b178
tree35199d69df0a212df4e8a466ca5af073c9cac869
parent36c8a3d3ac8b0157ea4ebc54926d40309787a865
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: Akinbou Mita <akinobu.mita@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/md/md.c