commit | 46d716025a228de835a8fd51c8420e3ce3c88795 | [log] [tgz] |
---|---|---|
author | Gabriel Krisman Bertazi <krisman@collabora.com> | Thu Oct 08 02:26:18 2020 -0400 |
committer | Jan Kara <jack@suse.cz> | Thu Oct 08 18:26:01 2020 +0200 |
tree | fa579e5d6b76cf8e8bb73ebb84db9177867f9efa | |
parent | c85fb28b6f999db9928b841f63f1beeb3074eeca [diff] |
direct-io: clean up error paths of do_blockdev_direct_IO In preparation to resort DIO checks, reduce code duplication of error handling in do_blockdev_direct_IO. Link: https://lore.kernel.org/r/20201008062620.2928326-2-krisman@collabora.com Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Jan Kara <jack@suse.cz>