tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git 
integration-4.5
head:   140e639f1a3ff052c3921818e2120fdfa4427681
commit: f7d3d2f99eeaa9f5c111965b1516972f4fc5e449 [34/41] Merge branch 
'freespace-tree' into for-linus-4.5
config: i386-randconfig-x006-12222106 (attached as .config)
reproduce:
        git checkout f7d3d2f99eeaa9f5c111965b1516972f4fc5e449
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/uapi/linux/capability.h:16,
                    from include/linux/capability.h:15,
                    from include/linux/sched.h:15,
                    from fs/btrfs/extent-tree.c:18:
   fs/btrfs/extent-tree.c: In function 'caching_thread':
>> fs/btrfs/extent-tree.c:566:39: error: 'extent_root' undeclared (first use in 
>> this function)
     if (btrfs_should_fragment_free_space(extent_root, block_group)) {
                                          ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> fs/btrfs/extent-tree.c:566:2: note: in expansion of macro 'if'
     if (btrfs_should_fragment_free_space(extent_root, block_group)) {
     ^
   fs/btrfs/extent-tree.c:566:39: note: each undeclared identifier is reported 
only once for each function it appears in
     if (btrfs_should_fragment_free_space(extent_root, block_group)) {
                                          ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> fs/btrfs/extent-tree.c:566:2: note: in expansion of macro 'if'
     if (btrfs_should_fragment_free_space(extent_root, block_group)) {
     ^

vim +/extent_root +566 fs/btrfs/extent-tree.c

817d52f8 Josef Bacik   2009-07-13  560          spin_lock(&block_group->lock);
11833d66 Yan Zheng     2009-09-11  561          block_group->caching_ctl = NULL;
73fa48b6 Omar Sandoval 2015-09-29  562          block_group->cached = ret ? 
BTRFS_CACHE_ERROR : BTRFS_CACHE_FINISHED;
817d52f8 Josef Bacik   2009-07-13  563          spin_unlock(&block_group->lock);
817d52f8 Josef Bacik   2009-07-13  564  
d0bd4560 Josef Bacik   2015-09-23  565  #ifdef CONFIG_BTRFS_DEBUG
d0bd4560 Josef Bacik   2015-09-23 @566          if 
(btrfs_should_fragment_free_space(extent_root, block_group)) {
d0bd4560 Josef Bacik   2015-09-23  567                  u64 bytes_used;
d0bd4560 Josef Bacik   2015-09-23  568  
d0bd4560 Josef Bacik   2015-09-23  569                  
spin_lock(&block_group->space_info->lock);

:::::: The code at line 566 was first introduced by commit
:::::: d0bd456074dca089579818312da7cbe726ad2ff9 Btrfs: add fragment=* debug 
mount option

:::::: TO: Josef Bacik <jba...@fb.com>
:::::: CC: Chris Mason <c...@fb.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

Reply via email to