commit | 187372a3b9faff68ed61c291d0135e6739e0dbdf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Feb 08 14:40:51 2016 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Feb 08 14:40:51 2016 +1100 |
tree | 7eeed8ee2944dbdcc60ec49cf08f1b1604400b3e | |
parent | 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3 [diff] |
direct-io: always call ->end_io if non-NULL This way we can pass back errors to the file system, and allow for cleanup required for all direct I/O invocations. Also allow the ->end_io handlers to return errors on their own, so that I/O completion errors can be passed on to the callers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>