Searched hist:"216639 dd5091de4f4d7ad19b0b8dde11fad18286" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/ceph/ |
H A D | mon_client.c | diff 216639dd5091de4f4d7ad19b0b8dde11fad18286 Tue May 19 04:03:33 CDT 2015 Ilya Dryomov <idryomov@gmail.com> libceph: a couple tweaks for wait loops
- return -ETIMEDOUT instead of -EIO in case of timeout - wait_event_interruptible_timeout() returns time left until timeout and since it can be almost LONG_MAX we had better assign it to long
Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org>
|
H A D | ceph_common.c | diff 216639dd5091de4f4d7ad19b0b8dde11fad18286 Tue May 19 04:03:33 CDT 2015 Ilya Dryomov <idryomov@gmail.com> libceph: a couple tweaks for wait loops
- return -ETIMEDOUT instead of -EIO in case of timeout - wait_event_interruptible_timeout() returns time left until timeout and since it can be almost LONG_MAX we had better assign it to long
Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org>
|