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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux