commit | 216639dd5091de4f4d7ad19b0b8dde11fad18286 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Tue May 19 12:03:33 2015 +0300 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Jun 25 11:49:29 2015 +0300 |
tree | 1f62dde05052f03bbaf1021cfaaa30e99e2d7087 | |
parent | a319bf56a617354e62cf5f774d2ca4e1a8a3bff3 [diff] |
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>