On Mon, Sep 21, 2020 at 09:43:43AM -0500, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx> > > The read and write DIO don't have anything in common except for the > call to iomap_dio_rw. Extract the write call into a new function to get > rid of conditional statements for direct write. > > Originally proposed by Christoph Hellwig <hch@xxxxxx> > > Signed-off-by: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>