]> err.no Git - linux-2.6/commit
[PATCH] md: tidy up device-change notification when an md array is stopped
authorNeilBrown <neilb@suse.de>
Sun, 10 Dec 2006 10:20:44 +0000 (02:20 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sun, 10 Dec 2006 17:57:20 +0000 (09:57 -0800)
commit0d4ca600fcf5c5f3a0c195ccf37e989b83451dd4
treef2847c89d66b2099c3beb55647e00c0fff4fca68
parenta3d899839064b6924c3d8a6404dae14c79f657fd
[PATCH] md: tidy up device-change notification when an md array is stopped

An md array can be stopped leaving all the setting still in place, or it can
torn down and destroyed.  set_capacity and other change notifications only
happen in the latter case, but should happen in both.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c