Skip to content
Commit 16d4b746 authored by Dan Carpenter's avatar Dan Carpenter Committed by Song Liu
Browse files

md/raid1: Fix a warning message in remove_wb()

The WARN_ON() macro doesn't take an error message, it just takes a
condition.  I've changed this to use WARN(1, "...") instead.

Fixes: 3e148a32

 ("md/raid1: fix potential data inconsistency issue with write behind device")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent 3726112e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment