md/raid0: Fix an error message in raid0_make_request()
BugLink: https://bugs.launchpad.net/bugs/1850540 [ Upstream commit e3fc3f3d ] 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:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Song Liu <songliubraving@fb.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
dann frazier <dann.frazier@canonical.com> (backported from bionic/18.04 submission into xenial/16.04) [smb: minor contextual adjustments] Signed-off-by:
Stefan Bader <stefan.bader@canonical.com> Acked-by:
Stefan Bader <stefan.bader@canonical.com> Acked-by:
Marcelo Henrique Cerri <marcelo.cerri@canonical.com> Signed-off-by:
Khalid Elmously <khalid.elmously@canonical.com>
Showing
Please register or sign in to comment