]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor buffer cancellation table allocation
authorDarrick J. Wong <djwong@kernel.org>
Fri, 27 May 2022 00:26:17 +0000 (10:26 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 27 May 2022 00:26:17 +0000 (10:26 +1000)
commita06b73cd744e960d5fdbd4de13df5ff682ef90d2
tree080ff2f6694a018c22c937f3a3753e86d588a6e0
parentaf3aee2c332030cefb07f0eb39d286e56898e13e
xfs: refactor buffer cancellation table allocation

Move the code that allocates and frees the buffer cancellation tables
used by log recovery into the file that actually uses the tables.  This
is a precursor to some cleanups and a memory leak fix.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_log_recover.h
fs/xfs/xfs_buf_item_recover.c
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_log_recover.c