-
Andrew Morton authored
If at the end of direct_io_worker, dio->result is non-zero then we unconditionally copy that into the return value, potentially ignoring any I/O errors which were accumulated into local variable `ret'. Only do the assignment if `ret' is zero.
fe1659c1