projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb73d0
)
xfs: fix non-debug build compiler warnings
author
Darrick J. Wong
<djwong@djwong.org>
Wed, 17 Jan 2018 03:04:27 +0000
(19:04 -0800)
committer
Darrick J. Wong
<darrick.wong@oracle.com>
Thu, 18 Jan 2018 05:00:47 +0000
(21:00 -0800)
Fix compiler warning on non-debug build
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_dquot_item.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_dquot_item.c
b/fs/xfs/xfs_dquot_item.c
index
e564f11
..
51ee848
100644
(file)
--- 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);
}