diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2024-08-13 12:38:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-29 17:33:42 +0200 |
commit | 00b395e95a01000f781fd473c7ae2fff00aeb06b (patch) | |
tree | d60f6976115cafd2ae810bad85c476a0544241b8 /drivers/platform/surface/aggregator/controller.c | |
parent | 84557cd61182edf7c776bd7d3284df5cacb22f7e (diff) |
dm suspend: return -ERESTARTSYS instead of -EINTR
[ Upstream commit 1e1fd567d32fcf7544c6e09e0e5bc6c650da6e23 ]
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>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions