[driver-core:debugfs_cleanup 50/57] fs//ceph/debugfs.c:266:7: error: 'dentry_lru_show_fops' undeclared; did you mean 'caps_show_fops'?

kbuild test robot lkp at intel.com
Sun Mar 17 14:49:11 UTC 2019


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head:   772e1d2b5b6691e4b10f693a4eef4652f01c9078
commit: 27defed1d399bb11895fd92da516ed535b40098d [50/57] ceph: fix changelog
config: x86_64-randconfig-x000-201911 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 27defed1d399bb11895fd92da516ed535b40098d
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   fs//ceph/debugfs.c: In function 'ceph_fs_debugfs_init':
>> fs//ceph/debugfs.c:266:7: error: 'dentry_lru_show_fops' undeclared (first use in this function); did you mean 'caps_show_fops'?
         &dentry_lru_show_fops);
          ^~~~~~~~~~~~~~~~~~~~
          caps_show_fops
   fs//ceph/debugfs.c:266:7: note: each undeclared identifier is reported only once for each function it appears in

vim +266 fs//ceph/debugfs.c

   218	
   219	void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
   220	{
   221		char name[100];
   222	
   223		dout("ceph_fs_debugfs_init\n");
   224		fsc->debugfs_congestion_kb =
   225			debugfs_create_file("writeback_congestion_kb",
   226					    0600,
   227					    fsc->client->debugfs_dir,
   228					    fsc,
   229					    &congestion_kb_fops);
   230	
   231		snprintf(name, sizeof(name), "../../bdi/%s",
   232			 dev_name(fsc->sb->s_bdi->dev));
   233		fsc->debugfs_bdi =
   234			debugfs_create_symlink("bdi",
   235					       fsc->client->debugfs_dir,
   236					       name);
   237	
   238		fsc->debugfs_mdsmap = debugfs_create_file("mdsmap",
   239						0400,
   240						fsc->client->debugfs_dir,
   241						fsc,
   242						&mdsmap_show_fops);
   243	
   244		fsc->debugfs_mds_sessions = debugfs_create_file("mds_sessions",
   245						0400,
   246						fsc->client->debugfs_dir,
   247						fsc,
   248						&mds_sessions_show_fops);
   249	
   250		fsc->debugfs_mdsc = debugfs_create_file("mdsc",
   251							0400,
   252							fsc->client->debugfs_dir,
   253							fsc,
   254							&mdsc_show_fops);
   255	
   256		fsc->debugfs_caps = debugfs_create_file("caps",
   257							   0400,
   258							   fsc->client->debugfs_dir,
   259							   fsc,
   260							   &caps_show_fops);
   261	
   262		fsc->debugfs_dentry_lru = debugfs_create_file("dentry_lru",
   263						0400,
   264						fsc->client->debugfs_dir,
   265						fsc,
 > 266						&dentry_lru_show_fops);
   267	}
   268	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 30250 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190317/409471ed/attachment-0001.bin>


More information about the devel mailing list