]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor the tail of xfs_writepage_map
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Jul 2018 05:26:04 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:04 +0000 (22:26 -0700)
commita520852a3578df7e8956016ee6d32c03cce74e5a
tree39edbec11739c407a9d93f6712cdcfa52a70a007
parent26aae697b78c95132da0119b8e1cb6a735da22d7
xfs: refactor the tail of xfs_writepage_map

Rejuggle how we deal with the different error vs non-error and have
ioends vs not have ioend cases to keep the fast path streamlined, and
the duplicate code at a minimum.

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