xlog_recover_process_iunlinks(<br>    xlog_t        *log)<br>{<br>                /*<br>                 * Reacquire the agibuffer and continue around<br>                 * the loop. This should never fail as we know<br>                 * the buffer was good earlier on.<br>
                 */<br>                error = xfs_read_agi(mp, NULL, agno, &amp;agibp);<br>                ASSERT(error == 0);<br>                agi = XFS_BUF_TO_AGI(agibp);<br> <br>}<br>If no defined DEBUG, ASSERT will not work and agibp could be ZERO if there is a error in xfs_read_agi.<br>
And the comment shouldn&#39;t say it never fail because  xfs_read_agi will return error in function and it does when there is forced shutdown.<br><br>Thanks,<br>Mike Gao<br><br><br>