diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-09-21 09:00:31 +0300 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2019-10-25 01:22:40 +0300 |
commit | e3fc3f3d0943b126f76b8533960e4168412d9e5a (patch) | |
tree | c4fbde661edf5d27a3103f53ab397f34f36f1c96 /drivers/md/md-bitmap.c | |
parent | dd85b4922de1b70f0729d2a7856db619e210a8ec (diff) | |
download | linux-e3fc3f3d0943b126f76b8533960e4168412d9e5a.tar.xz |
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: c84a1372df92 ("md/raid0: avoid RAID0 data corruption due to layout confusion.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/md-bitmap.c')
0 files changed, 0 insertions, 0 deletions