[PATCH] md: only try to print recovery/resync status for personalities that support...
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:41 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:39 +0000 (07:56 -0800)
commit8e1b39d623359e5ef7983a2bd0fb676be45cba31
tree554e7654fbd3aac78bc1f538474100a73de3fdd7
parent411036fa1924f5e5b0f7f9d04ae5d8cdc72fb839
[PATCH] md: only try to print recovery/resync status for personalities that support recovery

The introduction of 'resync=PENDING' (for read-only devices) caused that
message to appear for non-syncable arrays like raid0 and linear.  Simplest
thing is to not try to print any resync info unless the personality clearly
supports it.

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