]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor the buf ioend disposition code
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 17:55:20 +0000 (10:55 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:38 +0000 (20:52 -0700)
commitac6e93f47dfd0c5f0dc667d26c6e7d522ee601e0
tree114df3b404f783beb9488441ca467aadf96d4ff3
parent3cfd8fcd97696b48651423eac49eb5eb21928746
xfs: refactor the buf ioend disposition code

Handle the no-error case in xfs_buf_iodone_error as well, and to clarify
the code rename the function, use the actual enum type as return value
and then switch on it in the callers.

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_buf_item.c