diff options
author | Dave Chinner <david@fromorbit.com> | 2013-09-02 06:49:36 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-09-09 18:43:05 -0400 |
commit | a30b0367978f75a2659c71b33739e5e445a363c8 (patch) | |
tree | f5d50ce20e9d81095a701d53712b892c6883eb58 /fs/xfs/xfs_dquot_item.c | |
parent | e9fbbad8d8b2cbd6df7f237e0b4de02d63837ce1 (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.c | 3 |
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( | |||
142 | STATIC uint | 142 | STATIC uint |
143 | xfs_qm_dquot_logitem_push( | 143 | xfs_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; |