xfs: Use iomap_dio_rw to wait for unaligned direct IO
commit906753befc4d2610194cd4d3d2ed15dff1ed1ca0
authorJan Kara <jack@suse.cz>
Tue, 15 Oct 2019 15:43:43 +0000 (15 08:43 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 15 Oct 2019 15:43:43 +0000 (15 08:43 -0700)
tree21625a0e2f7a15899f115d7e4a820afaa7735151
parent13ef954445df4fd1d7c003a500ec5ce49573e14b
xfs: Use iomap_dio_rw to wait for unaligned direct IO

Use iomap_dio_rw() to wait for unaligned direct IO instead of opencoding
the wait.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_file.c