Files
linux-stable-mirror/drivers/md
Mikulas PatockaandGreg Kroah-Hartman 210f4cbfa5 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-09-04 13:23:31 +02:00
..
2024-09-04 13:23:25 +02:00