TO: Josef Bacik <[email protected]>

Hi Josef,

FYI, there are new sparse warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git 
master
head:   34f06a0b292a4e0c47ff52da82cf4f983f455fe3
commit: 290ccd6bf67c3e14a83e29a39d9834b7e5163d0f [27/67] Btrfs: attach delayed 
ref updates to delayed ref heads
reproduce: make C=1 CF=-D__CHECK_ENDIAN__
:::::: branch date: 3 hours ago
:::::: commit date: 5 days ago

>> fs/btrfs/extent-tree.c:5905:20: sparse: context imbalance in 
>> 'check_ref_cleanup' - different lock contexts for basic block
   fs/btrfs/extent-tree.c:8193:9: sparse: context imbalance in 
'btrfs_put_block_group_cache' - wrong count at exit

git remote add josef-btrfs 
git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git
git remote update josef-btrfs
git checkout 290ccd6bf67c3e14a83e29a39d9834b7e5163d0f
vim +/check_ref_cleanup +5905 fs/btrfs/extent-tree.c

1887be66 Chris Mason 2009-03-13  5889    */
c3e69d58 Chris Mason 2009-03-13  5890   delayed_refs->num_heads--;
290ccd6b Josef Bacik 2014-01-23  5891   if (head->processing == 0)
c3e69d58 Chris Mason 2009-03-13  5892           delayed_refs->num_heads_ready--;
290ccd6b Josef Bacik 2014-01-23  5893   head->processing = 0;
290ccd6b Josef Bacik 2014-01-23  5894   spin_unlock(&head->lock);
1887be66 Chris Mason 2009-03-13  5895   spin_unlock(&delayed_refs->lock);
1887be66 Chris Mason 2009-03-13  5896  
f0486c68 Yan, Zheng  2010-05-16  5897   BUG_ON(head->extent_op);
f0486c68 Yan, Zheng  2010-05-16  5898   if (head->must_insert_reserved)
f0486c68 Yan, Zheng  2010-05-16  5899           ret = 1;
f0486c68 Yan, Zheng  2010-05-16  5900  
f0486c68 Yan, Zheng  2010-05-16  5901   mutex_unlock(&head->mutex);
1887be66 Chris Mason 2009-03-13  5902   btrfs_put_delayed_ref(&head->node);
f0486c68 Yan, Zheng  2010-05-16  5903   return ret;
1887be66 Chris Mason 2009-03-13  5904  out:
290ccd6b Josef Bacik 2014-01-23 @5905   spin_unlock(&head->lock);
1887be66 Chris Mason 2009-03-13  5906   spin_unlock(&delayed_refs->lock);
1887be66 Chris Mason 2009-03-13  5907   return 0;
1887be66 Chris Mason 2009-03-13  5908  }
1887be66 Chris Mason 2009-03-13  5909  
f0486c68 Yan, Zheng  2010-05-16  5910  void btrfs_free_tree_block(struct 
btrfs_trans_handle *trans,
f0486c68 Yan, Zheng  2010-05-16  5911                      struct btrfs_root 
*root,
f0486c68 Yan, Zheng  2010-05-16  5912                      struct extent_buffer 
*buf,
5581a51a Jan Schmidt 2012-05-16  5913                      u64 parent, int 
last_ref)

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to