summaryrefslogtreecommitdiff
path: root/lib/debug_locks.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.com>2020-03-17 03:45:07 +0300
committerRichard Weinberger <richard@nod.at>2020-03-30 00:21:37 +0300
commite355b2f55efc4633409ada14125c9e28ad2de012 (patch)
tree445a3507b25758f740ce9cd9a02deab24ce01755 /lib/debug_locks.c
parent6e682d53fc1ef73a169e2a5300326cb23abb32ee (diff)
downloadlinux-e355b2f55efc4633409ada14125c9e28ad2de012.tar.xz
um: ubd: Retry buffer read on any kind of error
Should bulk_req_safe_read return an error, we want to retry the read, otherwise, even though no IO will be done, os_write_file might still end up writing garbage to the pipe. Cc: Martyn Welch <martyn.welch@collabora.com> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions