xfs: convert XLOG_FORCED_SHUTDOWN() to xlog_is_shutdown()
authorDave Chinner <dchinner@redhat.com>
Wed, 11 Aug 2021 00:59:01 +0000 (17:59 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 16 Aug 2021 19:09:27 +0000 (12:09 -0700)
commit2039a272300b949c05888428877317b834c0b1fb
tree7d5799f7692b1e76e1b5c990d0e98c4e5daf8173
parentedf27485eb566abae809517520a9adbc242b8b39
xfs: convert XLOG_FORCED_SHUTDOWN() to xlog_is_shutdown()

Make it less shouty and a static inline before adding more calls
through the log code.

Also convert internal log code that uses XFS_FORCED_SHUTDOWN(mount)
to use xlog_is_shutdown(log) as well.

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