⬢ DragonFlyBSD Kernel Audit
DF-4639 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/raid/ips/ips_commands.c b/sys/dev/raid/ips/ips_commands.c
index 99b4352..5ea75cc 100644
--- a/sys/dev/raid/ips/ips_commands.c
+++ b/sys/dev/raid/ips/ips_commands.c
@@ -199,7 +199,7 @@ ips_send_flush_request(ips_command_t *command, struct bio *bio)
 	ips_generic_cmd *flush_cmd;
 	ips_softc_t *sc = command->sc;
 
-	if (!ips_debug_ignore_flush_cmd) {
+	if (ips_debug_ignore_flush_cmd) {
 		ips_insert_free_cmd(sc, command);
 		ipsd_finish(bio);
 		return 0;