Christoph Hellwig and goldwynr btrfs: btrfs: split btrfs_direct_IO
6cbb7a0 May 21, 2020
btrfs: btrfs: split btrfs_direct_IO
The read and write versions don't have anything in common except
for the call to iomap_dio_rw.  So split this function, and merge
each half into its only caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[rgoldwyn: reservation changes]
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
6cbb7a0