tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git ovl-candidate head: c50c5708e327bcb7feba617f4d9d9a9392950134 commit: c56190faa27f4efe2a4b246e67be207c120cfe07 [9/20] ovl: stack file ops config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout c56190faa27f4efe2a4b246e67be207c120cfe07 # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=sparc64 All errors (new ones prefixed by >>): fs/overlayfs/file.c: In function 'ovl_open_realfile': >> fs/overlayfs/file.c:20:23: error: 'sb' undeclared (first use in this function); did you mean 'tsb'? struct ovl_fs *ofs = sb->s_fs_info; ^~ tsb fs/overlayfs/file.c:20:23: note: each undeclared identifier is reported only once for each function it appears in vim +20 fs/overlayfs/file.c 13 14 static struct file *ovl_open_realfile(const struct file *file) 15 { 16 struct inode *inode = file_inode(file); 17 struct inode *upperinode = ovl_inode_upper(inode); 18 struct inode *realinode = upperinode ?: ovl_inode_lower(inode); 19 struct file *realfile; > 20 struct ovl_fs *ofs = sb->s_fs_info; 21 22 realfile = open_with_fake_path(&file->f_path, file->f_flags | O_NOATIME, 23 realinode, ofs->creator_cred); 24 25 pr_debug("open(%p[%pD2/%c], 0%o) -> (%p, 0%o)\n", 26 file, file, upperinode ? 'u' : 'l', file->f_flags, 27 realfile, IS_ERR(realfile) ? 0 : realfile->f_flags); 28 29 return realfile; 30 } 31 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip