]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor the ioend merging code
authorChristoph Hellwig <hch@lst.de>
Thu, 17 Oct 2019 20:12:07 +0000 (13:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 15:51:59 +0000 (08:51 -0700)
commit96d0d5a0bb6bdd92d6f31abc30c784667e0d533b
tree5106489437959f9a01d5a96dc139f57dfa3aa319
parente710845462d41f8156c89f8480b59c6397c4d3e5
xfs: refactor the ioend merging code

Introduce two nicely abstracted helper, which can be moved to the iomap
code later.  Also use list_first_entry_or_null to simplify the code a
bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@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