]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor log recovery CUI item dispatch for pass2 commit functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 May 2020 23:00:49 +0000 (16:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 8 May 2020 15:49:59 +0000 (08:49 -0700)
commit9ad3cf8bc6242ac9d7756c93727722311d335ac8
tree199907757ef3bae2d672aeb4df3442eb181c08b5
parent8d3d977a87153ed3481c620c7876887ccbfa6704
xfs: refactor log recovery CUI item dispatch for pass2 commit functions

Move the refcount update intent and intent-done pass2 commit code into
the per-item source code files and use dispatch functions to call them.
We do these one at a time because there's a lot of code to move.  No
functional changes.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_refcount_item.h