linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nfs:testing 36/54] fs/nfs/direct.c:308:32: error: 'struct pnfs_ds_commit_info' has no member named 'commits'
@ 2020-03-25 15:47 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-25 15:47 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: kbuild-all, linux-nfs

[-- Attachment #1: Type: text/plain, Size: 1670 bytes --]

tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head:   21b71e249eabc75f6db7fb1ff83ce9fc34b09828
commit: cd21157690af4193233d71828cac656f316a35f9 [36/54] NFSv4/pnfs: Support a list of commit arrays in struct pnfs_ds_commit_info
config: x86_64-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout cd21157690af4193233d71828cac656f316a35f9
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   fs/nfs/direct.c: In function 'nfs_direct_req_alloc':
>> fs/nfs/direct.c:308:32: error: 'struct pnfs_ds_commit_info' has no member named 'commits'
     INIT_LIST_HEAD(&dreq->ds_cinfo.commits);
                                   ^

vim +308 fs/nfs/direct.c

   295	
   296	static inline struct nfs_direct_req *nfs_direct_req_alloc(void)
   297	{
   298		struct nfs_direct_req *dreq;
   299	
   300		dreq = kmem_cache_zalloc(nfs_direct_cachep, GFP_KERNEL);
   301		if (!dreq)
   302			return NULL;
   303	
   304		kref_init(&dreq->kref);
   305		kref_get(&dreq->kref);
   306		init_completion(&dreq->completion);
   307		INIT_LIST_HEAD(&dreq->mds_cinfo.list);
 > 308		INIT_LIST_HEAD(&dreq->ds_cinfo.commits);
   309		dreq->verf.committed = NFS_INVALID_STABLE_HOW;	/* not set yet */
   310		INIT_WORK(&dreq->work, nfs_direct_write_schedule_work);
   311		spin_lock_init(&dreq->lock);
   312	
   313		return dreq;
   314	}
   315	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28985 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-25 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 15:47 [nfs:testing 36/54] fs/nfs/direct.c:308:32: error: 'struct pnfs_ds_commit_info' has no member named 'commits' 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).