commit | 5c5b6f7585d272a2fccf4ccf9b85251f6fbeb124 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Oct 19 09:09:47 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 21 09:04:58 2019 -0700 |
tree | d4eefce86eaaac71ecf36ec3e13481688edbea99 | |
parent | 12dfb58af61da826839f50cf8cd089150c478880 [diff] |
xfs: cleanup xfs_direct_write_iomap_begin Move more checks into the helpers that determine if we need a COW operation or allocation and split the return path for when an existing data for allocation has been found versus a new allocation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>