xfs: don't look at buffer heads in xfs_add_to_ioend
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Jul 2018 05:26:02 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:02 +0000 (22:26 -0700)
commit3faed667644d787c3cf6f977f80bac7a013eb045
treecf14d65421dba356fcb4c58fac032c1a708d69f2
parent889c65b3f60af4c840896478fc6151363ffa279f
xfs: don't look at buffer heads in xfs_add_to_ioend

Calculate all information for the bio based on the passed in information
without requiring a buffer_head structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c