tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
afs-operation
head: 1f3c3f47e3f51601284088e397bdc243a1ee77d3
commit: 413a5d1b67a006f91aa592269237e11902a176ff [6/16] vfs: Make the inode hash table RCU
searchable
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
1ccde533425a4ba9d379510206ad680ff9702129)
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 413a5d1b67a006f91aa592269237e11902a176ff
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> fs/f2fs/node.c:1793:10: error: implicit declaration of function
'find_inode_nowait' [-Werror,-Wimplicit-function-declaration]
inode = find_inode_nowait(sbi->sb, ino, f2fs_match_ino, NULL);
^
fs/f2fs/node.c:1793:8: warning: incompatible integer to pointer conversion assigning to
'struct inode *' from 'int' [-Wint-conversion]
inode = find_inode_nowait(sbi->sb, ino, f2fs_match_ino, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +/find_inode_nowait +1793 fs/f2fs/node.c
052a82d85a3b3ee Chao Yu 2019-08-22 1786
052a82d85a3b3ee Chao Yu 2019-08-22 1787 static bool flush_dirty_inode(struct page
*page)
052a82d85a3b3ee Chao Yu 2019-08-22 1788 {
052a82d85a3b3ee Chao Yu 2019-08-22 1789 struct f2fs_sb_info *sbi = F2FS_P_SB(page);
052a82d85a3b3ee Chao Yu 2019-08-22 1790 struct inode *inode;
052a82d85a3b3ee Chao Yu 2019-08-22 1791 nid_t ino = ino_of_node(page);
052a82d85a3b3ee Chao Yu 2019-08-22 1792
052a82d85a3b3ee Chao Yu 2019-08-22 @1793 inode = find_inode_nowait(sbi->sb, ino,
f2fs_match_ino, NULL);
052a82d85a3b3ee Chao Yu 2019-08-22 1794 if (!inode)
052a82d85a3b3ee Chao Yu 2019-08-22 1795 return false;
052a82d85a3b3ee Chao Yu 2019-08-22 1796
052a82d85a3b3ee Chao Yu 2019-08-22 1797 f2fs_update_inode(inode, page);
052a82d85a3b3ee Chao Yu 2019-08-22 1798 unlock_page(page);
052a82d85a3b3ee Chao Yu 2019-08-22 1799
052a82d85a3b3ee Chao Yu 2019-08-22 1800 iput(inode);
052a82d85a3b3ee Chao Yu 2019-08-22 1801 return true;
052a82d85a3b3ee Chao Yu 2019-08-22 1802 }
052a82d85a3b3ee Chao Yu 2019-08-22 1803
:::::: The code at line 1793 was first introduced by commit
:::::: 052a82d85a3b3eee6a386be2ba3b82278cf277ce f2fs: fix to writeout dirty inode during
node flush
:::::: TO: Chao Yu <yuchao0(a)huawei.com>
:::::: CC: Jaegeuk Kim <jaegeuk(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org