Files
linux-stable-mirror/drivers/md
Mikulas PatockaandGreg Kroah-Hartman cdbf424d9b dm suspend: return -ERESTARTSYS instead of -EINTR
[ Upstream commit 1e1fd567d3 ]

This commit changes device mapper, so that it returns -ERESTARTSYS
instead of -EINTR when it is interrupted by a signal (so that the ioctl
can be restarted).

The manpage signal(7) says that the ioctl function should be restarted if
the signal was handled with SA_RESTART.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:30:41 +02:00
..
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2023-07-19 16:22:07 +02:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2024-03-26 18:21:02 -04:00
2023-07-19 16:22:07 +02:00
2024-03-26 18:21:02 -04:00
2023-04-13 16:55:17 +02:00
2024-08-29 17:30:36 +02:00