[cifs:for-next 1/1] fs/cifs/connect.c:2610:11: error: 'struct cifs_tcon' has no member named 'snapshot_time'

[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:   36c659cf92414961070d5aef29349291b2342b0d
commit: 36c659cf92414961070d5aef29349291b2342b0d [1/1] SMB3: parsing for new snapshot timestamp mount parm
config: x86_64-randconfig-x019-201648 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 36c659cf92414961070d5aef29349291b2342b0d
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/linkage.h:4:0,
                    from include/linux/fs.h:4,
                    from fs/cifs/connect.c:21:
   fs/cifs/connect.c: In function 'cifs_find_tcon':
>> fs/cifs/connect.c:2610:11: error: 'struct cifs_tcon' has no member named 'snapshot_time'
      if (tcon->snapshot_time != volume_info->snapshot_time)
              ^
   include/linux/compiler.h:149:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> fs/cifs/connect.c:2610:3: note: in expansion of macro 'if'
      if (tcon->snapshot_time != volume_info->snapshot_time)
      ^~
>> fs/cifs/connect.c:2610:11: error: 'struct cifs_tcon' has no member named 'snapshot_time'
      if (tcon->snapshot_time != volume_info->snapshot_time)
              ^
   include/linux/compiler.h:149:42: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                             ^~~~
>> fs/cifs/connect.c:2610:3: note: in expansion of macro 'if'
      if (tcon->snapshot_time != volume_info->snapshot_time)
      ^~
>> fs/cifs/connect.c:2610:11: error: 'struct cifs_tcon' has no member named 'snapshot_time'
      if (tcon->snapshot_time != volume_info->snapshot_time)
              ^
   include/linux/compiler.h:160:16: note: in definition of macro '__trace_if'
      ______r = !!(cond);     \
                   ^~~~
>> fs/cifs/connect.c:2610:3: note: in expansion of macro 'if'
      if (tcon->snapshot_time != volume_info->snapshot_time)
      ^~
   fs/cifs/connect.c: In function 'cifs_get_tcon':
   fs/cifs/connect.c:2681:8: error: 'struct cifs_tcon' has no member named 'snapshot_time'
       tcon->snapshot_time = volume_info->snapshot_time;
           ^~

vim +2610 fs/cifs/connect.c

  2604		spin_lock(&cifs_tcp_ses_lock);
  2605		list_for_each(tmp, &ses->tcon_list) {
  2606			tcon = list_entry(tmp, struct cifs_tcon, tcon_list);
  2607			if (!match_tcon(tcon, volume_info->UNC))
  2608				continue;
  2609	
> 2610			if (tcon->snapshot_time != volume_info->snapshot_time)
  2611				continue;
  2612	
  2613			++tcon->tc_count;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


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

  Powered by Linux