diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-08-10 17:59:02 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-16 12:09:28 -0700 |
commit | fd67d8a07208ab06560287b7b9334c2d50b7d6d7 (patch) | |
tree | a2bd2ba672581b6ab91a75d6364d48085c5090ef /fs/xfs/xfs_super.c | |
parent | 5112e2067bd94bd56aace4c7e4d45ff13b9152f8 (diff) |
xfs: move recovery needed state updates to xfs_log_mount_finish
xfs_log_mount_finish() needs to know if recovery is needed or not to
make decisions on whether to flush the log and AIL. Move the
handling of the NEED_RECOVERY state out to this function rather than
needing a temporary variable to store this state over the call to
xlog_recover_finish().
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_super.c')
0 files changed, 0 insertions, 0 deletions