Christoph Hellwig 187372a3b9 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>
2016-02-08 14:40:51 +11:00
..
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2015-12-07 15:09:35 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2015-04-02 23:47:42 -04:00
2016-01-08 16:01:21 -05:00
2016-01-22 18:04:28 -05:00
2015-11-09 15:11:24 -08:00
2014-02-20 13:32:10 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00