]> 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)
commit26a70532713aa971725c8d91329f1950fd7317cf
tree707ce35e93aa34b8d86b555cf102176b80a47c98
parente1012b6f9a9f6055bc1f966d0462383abc6585dd
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