Re: [PATCH 1/2] nilfs2: use i_blocksize()
From: kbuild test robot
Date: Sat Jan 21 2017 - 00:37:29 EST
Hi Geliang,
[auto build test ERROR on v4.9-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Geliang-Tang/nilfs2-use-i_blocksize/20170121-114142
config: x86_64-randconfig-n0-01211226 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
fs/nilfs2/btree.c: In function 'nilfs_btree_node_size':
>> fs/nilfs2/btree.c:122:2: error: implicit declaration of function 'i_blocksize' [-Werror=implicit-function-declaration]
return i_blocksize(btree->b_inode);
^
cc1: some warnings being treated as errors
--
fs/nilfs2/alloc.c: In function 'nilfs_palloc_groups_per_desc_block':
>> fs/nilfs2/alloc.c:37:2: error: implicit declaration of function 'i_blocksize' [-Werror=implicit-function-declaration]
return i_blocksize(inode) /
^
cc1: some warnings being treated as errors
vim +/i_blocksize +122 fs/nilfs2/btree.c
116 {
117 node->bn_nchildren = cpu_to_le16(nchildren);
118 }
119
120 static int nilfs_btree_node_size(const struct nilfs_bmap *btree)
121 {
> 122 return i_blocksize(btree->b_inode);
123 }
124
125 static int nilfs_btree_nchildren_per_block(const struct nilfs_bmap *btree)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip