Hi Anand,

[auto build test ERROR on btrfs/next]
[also build test ERROR on v4.6-rc4 next-20160418]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Anand-Jain/Introduce-device-state-failed-spare-device-and-auto-replace/20160418-195801
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git 
next
config: i386-randconfig-x003-201616 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   fs/btrfs/volumes.c: In function 'device_force_close':
>> fs/btrfs/volumes.c:7189:2: error: implicit declaration of function 
>> 'btrfs_assign_next_active_device' [-Werror=implicit-function-declaration]
     btrfs_assign_next_active_device(fs_devices->fs_info, device, NULL);
     ^
   cc1: some warnings being treated as errors

vim +/btrfs_assign_next_active_device +7189 fs/btrfs/volumes.c

  7183          fs_devices = device->fs_devices;
  7184  
  7185          mutex_lock(&fs_devices->device_list_mutex);
  7186          mutex_lock(&fs_devices->fs_info->chunk_mutex);
  7187          spin_lock(&fs_devices->fs_info->free_chunk_lock);
  7188  
> 7189          btrfs_assign_next_active_device(fs_devices->fs_info, device, 
> NULL);
  7190  
  7191          if (device->bdev)
  7192                  fs_devices->open_devices--;

---
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