xfs: shorten the shutdown messages to a single line
authorDarrick J. Wong <djwong@kernel.org>
Mon, 21 Jun 2021 17:01:14 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 21 Jun 2021 17:14:13 +0000 (10:14 -0700)
commitc06ad17cfa0bac3b51c9b3448a843860d29bc85a
tree24944a3a3d1a31f84721460ea49a957e0bdc78c7
parent3a1c3abe89710c60c98a8f59a5f16e5dfe249e49
xfs: shorten the shutdown messages to a single line

Consolidate the shutdown messages to a single line containing the
reason, the passed-in flags, the source of the shutdown, and the end
result.  This means we now only have one line to look for when
debugging, which is useful when the fs goes down while something else is
flooding dmesg.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
fs/xfs/xfs_fsops.c