diff options
author | Darrick J. Wong <djwong@djwong.org> | 2018-01-17 04:04:27 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-18 06:00:47 +0100 |
commit | 75d4a13b1f6163340e1695bc487ff7fcdc6bc965 (patch) | |
tree | 305b25f2133c11d9f01cb478ed5490a4628bc909 /fs | |
parent | xfs: check sb_agblocks and sb_agblklog when validating superblock (diff) | |
download | linux-75d4a13b1f6163340e1695bc487ff7fcdc6bc965.tar.xz linux-75d4a13b1f6163340e1695bc487ff7fcdc6bc965.zip |
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>
Diffstat (limited to 'fs')
-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( 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); } |