]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove XFS_LI_RECOVERED
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 28 Sep 2020 18:01:45 +0000 (11:01 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 7 Oct 2020 15:40:27 +0000 (08:40 -0700)
commit5827ac5949804da796aff735d4a7aa1ddae133d7
tree707ce35e93aa34b8d86b555cf102176b80a47c98
parent449b41f616df156c81a0a2d243c58bf657ab8164
xfs: remove XFS_LI_RECOVERED

The ->iop_recover method of a log intent item removes the recovered
intent item from the AIL by logging an intent done item and committing
the transaction, so it's superfluous to have this flag check.  Nothing
else uses it, so get rid of the flag entirely.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_trans.h