Re: [PATCH] Btrfs: subpage-blocksize: btrfs_punch_hole: Fix uptodate blocks check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chandan,

[auto build test ERROR on btrfs/next]
[also build test ERROR on v4.6-rc3 next-20160415]
[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/Chandan-Rajendra/Btrfs-subpage-blocksize-btrfs_punch_hole-Fix-uptodate-blocks-check/20160417-201821
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git next
config: i386-randconfig-x008-04171808 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   fs/btrfs/file.c: In function 'btrfs_punch_hole':
>> fs/btrfs/file.c:2473:4: error: implicit declaration of function 'test_page_blks_state' [-Werror=implicit-function-declaration]
       test_page_blks_state(start_page, 1 << BLK_STATE_UPTODATE,
       ^
>> fs/btrfs/file.c:2473:42: error: 'BLK_STATE_UPTODATE' undeclared (first use in this function)
       test_page_blks_state(start_page, 1 << BLK_STATE_UPTODATE,
                                             ^
   fs/btrfs/file.c:2473:42: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +/test_page_blks_state +2473 fs/btrfs/file.c

  2467			nr_pages >>= PAGE_SHIFT;
  2468	
  2469			if ((!ordered ||
  2470			    (ordered->file_offset + ordered->len <= lockstart ||
  2471			     ordered->file_offset > lockend)) &&
  2472			     (!(start_page && PagePrivate(start_page) &&
> 2473				test_page_blks_state(start_page, 1 << BLK_STATE_UPTODATE,
  2474				 lockstart,
  2475				 min(lockstart + PAGE_SIZE - 1, lockend), 0)) &&
  2476			      !(end_page && PagePrivate(end_page) &&

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux