summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-06-26 13:49:01 -0600
committerJens Axboe <axboe@kernel.dk>2019-06-26 13:49:01 -0600
commit2ad7a0cc8f8ec37b2f65f6990faae7dec0058d55 (patch)
treea7cad43b003300fa4dd175b809fc982ced84a5dd
parent3726112ec7316068625a1adefa101b9522c588ba (diff)
parent16d4b74654ff7c3c5d0b6446278ef51b1de41484 (diff)
downloadlinux-2ad7a0cc8f8ec37b2f65f6990faae7dec0058d55.tar.gz
linux-2ad7a0cc8f8ec37b2f65f6990faae7dec0058d55.tar.bz2
linux-2ad7a0cc8f8ec37b2f65f6990faae7dec0058d55.zip
Merge branch 'md-next' of https://github.com/liu-song-6/linux into for-5.3/block
Pull single MD warning fix from Song. * 'md-next' of https://github.com/liu-song-6/linux: md/raid1: Fix a warning message in remove_wb()
-rw-r--r--drivers/md/raid1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index 3d44da663797..34e26834ad28 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -96,7 +96,7 @@ static void remove_wb(struct md_rdev *rdev, sector_t lo, sector_t hi)
}
if (!found)
- WARN_ON("The write behind IO is not recorded\n");
+ WARN(1, "The write behind IO is not recorded\n");
spin_unlock_irqrestore(&rdev->wb_list_lock, flags);
wake_up(&rdev->wb_io_wait);
}