commit | 16d4b74654ff7c3c5d0b6446278ef51b1de41484 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 26 12:42:51 2019 +0300 |
committer | Song Liu <songliubraving@fb.com> | Wed Jun 26 12:18:48 2019 -0700 |
tree | a7cad43b003300fa4dd175b809fc982ced84a5dd | |
parent | 3726112ec7316068625a1adefa101b9522c588ba [diff] |
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: 3e148a320979 ("md/raid1: fix potential data inconsistency issue with write behind device") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Song Liu <songliubraving@fb.com>