xfs: simplify xfs_chain_bio
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 02:30:22 +0000 (19:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:30:22 +0000 (19:30 -0700)
commita247373596677bd38a88fcaf1606be51a44c614d
treec54bbe5c2ce2c77286886068dba6d75b5a9f279f
parentf327a00745fffd9159d54b442cb75c0266fb89d6
xfs: simplify xfs_chain_bio

Move setting up operation and write hint to xfs_alloc_ioend, and
then just copy over all needed information from the previous bio
in xfs_chain_bio and stop passing various parameters to it.

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