* [cel:direct-io 52/54] fs/nfsd/filecache.c:1069:9: error: implicit declaration of function 'trace_nfsd_file_get_dio_attrs'; did you mean 'trace_nfsd_file_get_dio_attr'?
@ 2025-09-13 9:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-13 9:17 UTC (permalink / raw)
To: Mike Snitzer; +Cc: oe-kbuild-all, Chuck Lever, Jeff Layton
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux direct-io
head: bcd61e34b795f9544846e92d568aae005e20746d
commit: 388ddf4d5d45b5a056034a1d8b54c2c4c8790af8 [52/54] NFSD: filecache: add STATX_DIOALIGN and STATX_DIO_READ_ALIGN support
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250913/202509131748.GCYDTfYC-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250913/202509131748.GCYDTfYC-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509131748.GCYDTfYC-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/nfsd/filecache.c: In function 'nfsd_file_get_dio_attrs':
>> fs/nfsd/filecache.c:1069:9: error: implicit declaration of function 'trace_nfsd_file_get_dio_attrs'; did you mean 'trace_nfsd_file_get_dio_attr'? [-Wimplicit-function-declaration]
1069 | trace_nfsd_file_get_dio_attrs(inode, &stat);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| trace_nfsd_file_get_dio_attr
vim +1069 fs/nfsd/filecache.c
1053
1054 static __be32
1055 nfsd_file_get_dio_attrs(const struct svc_fh *fhp, struct nfsd_file *nf)
1056 {
1057 struct inode *inode = file_inode(nf->nf_file);
1058 struct kstat stat;
1059 __be32 status;
1060
1061 /* Currently only need to get DIO alignment info for regular files */
1062 if (!S_ISREG(inode->i_mode))
1063 return nfs_ok;
1064
1065 status = fh_getattr(fhp, &stat);
1066 if (status != nfs_ok)
1067 return status;
1068
> 1069 trace_nfsd_file_get_dio_attrs(inode, &stat);
1070
1071 if (stat.result_mask & STATX_DIOALIGN) {
1072 nf->nf_dio_mem_align = stat.dio_mem_align;
1073 nf->nf_dio_offset_align = stat.dio_offset_align;
1074 }
1075 if (stat.result_mask & STATX_DIO_READ_ALIGN)
1076 nf->nf_dio_read_offset_align = stat.dio_read_offset_align;
1077 else
1078 nf->nf_dio_read_offset_align = nf->nf_dio_offset_align;
1079
1080 return nfs_ok;
1081 }
1082
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-13 9:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-13 9:17 [cel:direct-io 52/54] fs/nfsd/filecache.c:1069:9: error: implicit declaration of function 'trace_nfsd_file_get_dio_attrs'; did you mean 'trace_nfsd_file_get_dio_attr'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.