diff options
author | Darrick J. Wong <djwong@djwong.org> | 2018-01-16 22:04:27 -0500 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-18 00:00:47 -0500 |
commit | 75d4a13b1f6163340e1695bc487ff7fcdc6bc965 (patch) | |
tree | 305b25f2133c11d9f01cb478ed5490a4628bc909 | |
parent | 4bb73d014785cc55225686f9f46e7192fb59d26b (diff) |
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>
-rw-r--r-- | fs/xfs/xfs_dquot_item.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/xfs/xfs_dquot_item.c b/fs/xfs/xfs_dquot_item.c index e564f11d83f3..51ee848a550e 100644 --- a/fs/xfs/xfs_dquot_item.c +++ b/fs/xfs/xfs_dquot_item.c | |||
@@ -150,10 +150,7 @@ xfs_dquot_item_error( | |||
150 | struct xfs_log_item *lip, | 150 | struct xfs_log_item *lip, |
151 | struct xfs_buf *bp) | 151 | struct xfs_buf *bp) |
152 | { | 152 | { |
153 | struct xfs_dquot *dqp; | 153 | ASSERT(!completion_done(&DQUOT_ITEM(lip)->qli_dquot->q_flush)); |
154 | |||
155 | dqp = DQUOT_ITEM(lip)->qli_dquot; | ||
156 | ASSERT(!completion_done(&dqp->q_flush)); | ||
157 | xfs_set_li_failed(lip, bp); | 154 | xfs_set_li_failed(lip, bp); |
158 | } | 155 | } |
159 | 156 | ||