summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2015-05-19 11:03:33 +0200
committerIlya Dryomov <idryomov@gmail.com>2015-06-25 10:49:29 +0200
commit216639dd5091de4f4d7ad19b0b8dde11fad18286 (patch)
tree1f62dde05052f03bbaf1021cfaaa30e99e2d7087 /fs/ceph
parentlibceph: store timeouts in jiffies, verify user input (diff)
downloadlinux-216639dd5091de4f4d7ad19b0b8dde11fad18286.tar.xz
linux-216639dd5091de4f4d7ad19b0b8dde11fad18286.zip
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>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions