[cifs:for-next 3/4] fs/cifs/connect.c:3378:45: error: 'struct cifs_tcon' has no member named 'dfs_path'

kbuild test robot lkp at intel.com
Wed Apr 22 11:05:25 UTC 2020


tree:   git://git.samba.org/sfrench/cifs-2.6.git for-next
head:   db2905e7820335bdac93afe68c178a55c212c468
commit: f73409e5babde0e9e114876688697b1799b44fa9 [3/4] cifs: do not share tcons with DFS
config: m68k-sun3_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f73409e5babde0e9e114876688697b1799b44fa9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=m68k 

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

All errors (new ones prefixed by >>):

   fs/cifs/connect.c: In function 'cifs_find_tcon':
>> fs/cifs/connect.c:3378:45: error: 'struct cifs_tcon' has no member named 'dfs_path'
    3378 |   if (!match_tcon(tcon, volume_info) || tcon->dfs_path)
         |                                             ^~

vim +3378 fs/cifs/connect.c

  3368	
  3369	static struct cifs_tcon *
  3370	cifs_find_tcon(struct cifs_ses *ses, struct smb_vol *volume_info)
  3371	{
  3372		struct list_head *tmp;
  3373		struct cifs_tcon *tcon;
  3374	
  3375		spin_lock(&cifs_tcp_ses_lock);
  3376		list_for_each(tmp, &ses->tcon_list) {
  3377			tcon = list_entry(tmp, struct cifs_tcon, tcon_list);
> 3378			if (!match_tcon(tcon, volume_info) || tcon->dfs_path)
  3379				continue;
  3380			++tcon->tc_count;
  3381			spin_unlock(&cifs_tcp_ses_lock);
  3382			return tcon;
  3383		}
  3384		spin_unlock(&cifs_tcp_ses_lock);
  3385		return NULL;
  3386	}
  3387	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 13251 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20200422/54666e52/config.gz>


More information about the samba-technical mailing list