* [vfs:ovl-candidate 9/20] fs//overlayfs/file.c:20:23: error: 'sb' undeclared
@ 2018-07-13 10:51 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-07-13 10:51 UTC (permalink / raw)
To: Miklos Szeredi; +Cc: kbuild-all, linux-fsdevel, Al Viro
[-- Attachment #1: Type: text/plain, Size: 1752 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37637 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-13 11:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 10:51 [vfs:ovl-candidate 9/20] fs//overlayfs/file.c:20:23: error: 'sb' undeclared kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).