md/raid10: fix compile warning
With W=1, compiler complains. drivers/md/raid10.c:1983: warning: bad line: Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Signed-off-by: Song Liu <song@kernel.org>
This commit is contained in:
parent
12ba6676b9
commit
62bca04bb7
@ -1980,7 +1980,7 @@ static int enough(struct r10conf *conf, int ignore)
|
||||
* Otherwise, it must be degraded:
|
||||
* - recovery is interrupted.
|
||||
* - &mddev->degraded is bumped.
|
||||
|
||||
*
|
||||
* @rdev is marked as &Faulty excluding case when array is failed and
|
||||
* &mddev->fail_last_dev is off.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user