Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60a204f0 authored by Nathan Scott's avatar Nathan Scott
Browse files

[XFS] Fix a thinko when generating a forced shutdown stack trace.



SGI-PV: 929558
SGI-Modid: xfs-linux-melb:xfs-kern:203817a

Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 0733af21
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1027,10 +1027,10 @@ xfs_trans_cancel(
	 * filesystem.  This happens in paths where we detect
	 * corruption and decide to give up.
	 */
	if ((tp->t_flags & XFS_TRANS_DIRTY) &&
	    !XFS_FORCED_SHUTDOWN(mp))
	if ((tp->t_flags & XFS_TRANS_DIRTY) && !XFS_FORCED_SHUTDOWN(mp)) {
		XFS_ERROR_REPORT("xfs_trans_cancel", XFS_ERRLEVEL_LOW, mp);
		xfs_force_shutdown(mp, XFS_CORRUPT_INCORE);
	}
#ifdef DEBUG
	if (!(flags & XFS_TRANS_ABORT)) {
		licp = &(tp->t_items);