Fam Zheng f86428a1f4 osdep: Retry SETLK upon EINTR
We could hit lock failure if there is a signal that makes fcntl return
-1 and errno set to EINTR. In this case we should retry.

Cc: qemu-stable@nongnu.org
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-01-23 12:33:07 +01:00
..
2017-12-18 10:54:13 -05:00
2018-01-19 11:18:51 -02:00
2018-01-23 12:33:07 +01:00
2018-01-16 14:54:50 +01:00
2017-12-20 22:01:24 +08:00