aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot_item.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2013-09-02 06:49:36 -0400
committerBen Myers <bpm@sgi.com>2013-09-09 18:43:05 -0400
commita30b0367978f75a2659c71b33739e5e445a363c8 (patch)
treef5d50ce20e9d81095a701d53712b892c6883eb58 /fs/xfs/xfs_dquot_item.c
parente9fbbad8d8b2cbd6df7f237e0b4de02d63837ce1 (diff)
xfs: fix some minor sparse warnings
A couple of simple locking annotations and 0 vs NULL warnings. Nothing that changes any code behaviour, just removes build noise. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dquot_item.c')
-rw-r--r--fs/xfs/xfs_dquot_item.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot_item.c b/fs/xfs/xfs_dquot_item.c
index 60c6e1f12695..e838d84b4e85 100644
--- a/fs/xfs/xfs_dquot_item.c
+++ b/fs/xfs/xfs_dquot_item.c
@@ -142,7 +142,8 @@ xfs_qm_dqunpin_wait(
142STATIC uint 142STATIC uint
143xfs_qm_dquot_logitem_push( 143xfs_qm_dquot_logitem_push(
144 struct xfs_log_item *lip, 144 struct xfs_log_item *lip,
145 struct list_head *buffer_list) 145 struct list_head *buffer_list) __releases(&lip->li_ailp->xa_lock)
146 __acquires(&lip->li_ailp->xa_lock)
146{ 147{
147 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; 148 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot;
148 struct xfs_buf *bp = NULL; 149 struct xfs_buf *bp = NULL;