Commit e3fc3f3d authored by Dan Carpenter's avatar Dan Carpenter Committed by Song Liu
Browse files

md/raid0: Fix an error message in raid0_make_request()

The first argument to WARN() is supposed to be a condition.  The
original code will just print the mdname() instead of the full warning
message.

Fixes: c84a1372

 ("md/raid0: avoid RAID0 data corruption due to layout confusion.")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent dd85b492
Supports Markdown
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