diff options
author | Sean Paul <seanpaul@chromium.org> | 2017-07-26 18:39:07 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-07-26 18:39:07 -0400 |
commit | 78acea381d6eb1c67b155e7e2638ba3b1728eb07 (patch) | |
tree | 323b89e2f43f5f177223aeb61a6a18fe12eda011 /drivers/md/bitmap.c | |
parent | 67022227ffb1f588e70deeccc9246ec93e26f980 (diff) | |
parent | e6742e1021a5cec55fab50a0b115c65217488eda (diff) |
Merge airlied/drm-next into drm-misc-next
Backmerge drm-next with -rc2 in it to pull in a couple stm patches that
were previously incorrectly applied to -misc-next. By picking them up in
the correct manner, git will hopefully fix any errant trees that are out
in the wild.
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drivers/md/bitmap.c')
-rw-r--r-- | drivers/md/bitmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index f4eace5ea184..40f3cd7eab0f 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c @@ -156,7 +156,8 @@ static int read_sb_page(struct mddev *mddev, loff_t offset, rdev_for_each(rdev, mddev) { if (! test_bit(In_sync, &rdev->flags) - || test_bit(Faulty, &rdev->flags)) + || test_bit(Faulty, &rdev->flags) + || test_bit(Bitmap_sync, &rdev->flags)) continue; target = offset + index * (PAGE_SIZE/512); |