xfs: fix non-debug build compiler warnings
Fix compiler warning on non-debug build Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
parent
4bb73d0147
commit
75d4a13b1f
|
@ -150,10 +150,7 @@ xfs_dquot_item_error(
|
|||
struct xfs_log_item *lip,
|
||||
struct xfs_buf *bp)
|
||||
{
|
||||
struct xfs_dquot *dqp;
|
||||
|
||||
dqp = DQUOT_ITEM(lip)->qli_dquot;
|
||||
ASSERT(!completion_done(&dqp->q_flush));
|
||||
ASSERT(!completion_done(&DQUOT_ITEM(lip)->qli_dquot->q_flush));
|
||||
xfs_set_li_failed(lip, bp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue