Commit 4d51e7a0 authored by Eric Sandeen's avatar Eric Sandeen Committed by Nathan Scott

[XFS] Add a stack trace to _xfs_force_shutdown.

SGI Modid: 2.5.x-xfs:slinx:160899a
parent b1850eed
...@@ -149,6 +149,9 @@ xfs_do_force_shutdown( ...@@ -149,6 +149,9 @@ xfs_do_force_shutdown(
xfs_cmn_err(XFS_PTAG_SHUTDOWN_CORRUPT, CE_ALERT, mp, xfs_cmn_err(XFS_PTAG_SHUTDOWN_CORRUPT, CE_ALERT, mp,
"Corruption of in-memory data detected. Shutting down filesystem: %s", "Corruption of in-memory data detected. Shutting down filesystem: %s",
mp->m_fsname); mp->m_fsname);
if (XFS_ERRLEVEL_HIGH <= xfs_error_level) {
xfs_stack_trace();
}
} else if (!(flags & XFS_FORCE_UMOUNT)) { } else if (!(flags & XFS_FORCE_UMOUNT)) {
if (logerror) { if (logerror) {
xfs_cmn_err(XFS_PTAG_SHUTDOWN_LOGERROR, CE_ALERT, mp, xfs_cmn_err(XFS_PTAG_SHUTDOWN_LOGERROR, CE_ALERT, mp,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment