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: x86_64-randconfig-u0-07131607 (attached as .config) compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010 reproduce: git checkout c56190faa27f4efe2a4b246e67be207c120cfe07 # save the attached .config to linux build tree make ARCH=x86_64 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) struct ovl_fs *ofs = sb->s_fs_info; ^ fs//overlayfs/file.c:20:23: note: each undeclared identifier is reported only once for each function it appears in vim +/sb +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