[PATCH] md: Fix inverted test for 'repair' directive.
authorNeilBrown <neilb@suse.de>
Sat, 20 May 2006 21:59:57 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 21 May 2006 19:59:17 +0000 (12:59 -0700)
commit2adc7d47c4dbf684e69ee3980c158ff684dc170e
treeec4d2891f17b67c91f29d8b748ae49b9ef39a3e7
parent8c7b389e532e964f07057dac8a56c43465544759
[PATCH] md: Fix inverted test for 'repair' directive.

We should be able to write 'repair' to /sys/block/mdX/md/sync_action,
however due to and inverted test, that always given EINVAL.

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