diff --git a/drivers/md/md.c b/drivers/md/md.c index 2c3ab6f5e6bef01f0b358b65daf78a51442cc07a..d750b52376b97f871663dd2e9bb931da84932b2b 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -5851,6 +5851,9 @@ static int get_array_info(struct mddev *mddev, void __user *arg) working++; if (test_bit(In_sync, &rdev->flags)) insync++; + else if (test_bit(Journal, &rdev->flags)) + /* TODO: add journal count to md_u.h */ + ; else spare++; }