]> err.no Git - linux-2.6/commit
[PATCH] md: fix /proc/mdstat refcounting
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 17 Oct 2006 07:09:38 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:43 +0000 (08:18 -0700)
commite24650c2e744f99541125a5b023f0d02cad19d14
tree59f043a5bddb973feac1b1543cf87970665370c5
parenta649fd9271773dd0f78e2b9f347bcceecb8827f9
[PATCH] 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.

Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Akinbou Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c