xfs: minor cleanup for xfs_get_blocks
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Mar 2018 06:15:32 +0000 (23:15 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 15 Mar 2018 17:31:38 +0000 (10:31 -0700)
commit1d4352de511f4c9b6f4466c8fd4cfc25b14869b7
tree366a7d31cb6b2f4d7cf3c717de44841f64bffaa9
parentf5c54717bf2b9e052bb69d6ee19fe22e87817079
xfs: minor cleanup for xfs_get_blocks

Simplify the control flow a bit in preparation for O_ATOMIC-related
changes.

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>
fs/xfs/xfs_aops.c