diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2017-09-29 03:16:43 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-10-17 04:06:33 +0200 |
commit | 385f4d7f946b08f36f68b0a28e95a319925b6b62 (patch) | |
tree | c1422710580342a1a469842c4dcebf6bfba75965 /tools/spi | |
parent | md/bitmap: revert a patch (diff) | |
download | linux-385f4d7f946b08f36f68b0a28e95a319925b6b62.tar.xz linux-385f4d7f946b08f36f68b0a28e95a319925b6b62.zip |
md-cluster: fix wrong condition check in raid1_write_request
The check used here is to avoid conflict between write and
resync, however we used the wrong logic, it should be the
inverse of the checking inside "if".
Fixes: 589a1c4 ("Suspend writes in RAID1 if within range")
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions