Anton Nefedov
caeadbc8ba
ide: fix invalid TRIM range abortion for macio
...
commit 947858b0 "ide: abort TRIM operation for invalid range"
is incorrect for macio; just ide_dma_error() without doing a callback
is not enough for that errorpath.
Instead, pass -EINVAL to the callback and handle it there
(see related motivation for read/write in 58ac32113).
It will however catch possible EINVAL from the block layer too.
Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-id: 1520010495-58172-1-git-send-email-anton.nefedov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
2018-03-27 00:38:00 -04:00
..
2018-02-19 18:27:32 +01:00
2018-03-13 23:09:50 +02:00
2018-02-09 13:50:17 +01:00
2018-03-12 16:12:49 +01:00
2018-03-23 18:26:46 +00:00
2018-03-26 14:37:13 +02:00
2018-03-26 14:37:13 +02:00
2018-01-22 09:51:00 +01:00
2018-03-23 18:26:45 +00:00
2018-03-19 14:10:36 -03:00
2017-12-18 17:07:02 +03:00
2017-10-27 16:03:54 +02:00
2018-03-13 11:17:29 -06:00
2018-03-12 16:12:48 +01:00
2018-01-22 09:46:18 +01:00
2018-02-04 14:11:03 -08:00
2018-03-01 11:05:45 +00:00
2018-03-21 15:13:25 +01:00
2018-03-27 00:38:00 -04:00
2018-03-12 16:12:48 +01:00
2018-03-23 18:26:45 +00:00
2017-10-15 05:54:43 +03:00
2018-03-02 13:45:50 -06:00
2018-03-20 15:48:34 +00:00
2018-02-06 18:29:26 +01:00
2017-10-27 16:03:54 +02:00
2018-03-20 03:34:52 +02:00
2018-01-26 11:09:09 +01:00
2018-03-12 16:12:49 +01:00
2018-03-18 18:27:23 +11:00
2018-02-06 18:29:26 +01:00
2018-03-26 15:17:25 +01:00
2018-03-19 14:09:44 -03:00
2018-02-09 13:52:16 +01:00
2018-02-06 18:29:26 +01:00
2018-03-20 15:48:34 +00:00
2018-02-13 16:33:31 +00:00
2018-03-09 17:09:43 +00:00
2016-01-29 15:07:25 +00:00
2018-03-20 15:48:34 +00:00
2018-03-23 18:38:55 +03:00
2018-03-07 08:30:28 +13:00
2018-03-23 09:05:18 +00:00
2018-03-26 14:37:15 +02:00
2018-03-23 18:26:45 +00:00
2017-12-05 19:13:45 +02:00
2018-02-09 13:52:16 +01:00
2018-03-12 16:12:48 +01:00
2018-03-12 16:12:48 +01:00
2018-03-01 11:05:44 +00:00
2018-03-02 13:45:50 -06:00
2018-03-21 08:01:03 -04:00
2018-03-12 16:12:46 +01:00
2018-03-12 16:12:48 +01:00
2018-03-12 11:43:49 +01:00
2018-03-13 11:17:31 -06:00
2018-03-20 16:40:37 +02:00
2018-03-02 13:45:50 -06:00
2018-02-13 16:33:31 +00:00
2018-02-06 18:29:46 +01:00
2018-02-09 13:52:16 +01:00
2018-02-19 13:03:24 +02:00