Loading fs/xfs/xfs_trans.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1027,10 +1027,10 @@ xfs_trans_cancel( * filesystem. This happens in paths where we detect * filesystem. This happens in paths where we detect * corruption and decide to give up. * corruption and decide to give up. */ */ if ((tp->t_flags & XFS_TRANS_DIRTY) && if ((tp->t_flags & XFS_TRANS_DIRTY) && !XFS_FORCED_SHUTDOWN(mp)) { !XFS_FORCED_SHUTDOWN(mp)) XFS_ERROR_REPORT("xfs_trans_cancel", XFS_ERRLEVEL_LOW, mp); XFS_ERROR_REPORT("xfs_trans_cancel", XFS_ERRLEVEL_LOW, mp); xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); } #ifdef DEBUG #ifdef DEBUG if (!(flags & XFS_TRANS_ABORT)) { if (!(flags & XFS_TRANS_ABORT)) { licp = &(tp->t_items); licp = &(tp->t_items); Loading Loading
fs/xfs/xfs_trans.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1027,10 +1027,10 @@ xfs_trans_cancel( * filesystem. This happens in paths where we detect * filesystem. This happens in paths where we detect * corruption and decide to give up. * corruption and decide to give up. */ */ if ((tp->t_flags & XFS_TRANS_DIRTY) && if ((tp->t_flags & XFS_TRANS_DIRTY) && !XFS_FORCED_SHUTDOWN(mp)) { !XFS_FORCED_SHUTDOWN(mp)) XFS_ERROR_REPORT("xfs_trans_cancel", XFS_ERRLEVEL_LOW, mp); XFS_ERROR_REPORT("xfs_trans_cancel", XFS_ERRLEVEL_LOW, mp); xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); } #ifdef DEBUG #ifdef DEBUG if (!(flags & XFS_TRANS_ABORT)) { if (!(flags & XFS_TRANS_ABORT)) { licp = &(tp->t_items); licp = &(tp->t_items); Loading