[cifs:for-next 8/9] fs//cifs/smb2ops.c:1542:11: error: 'struct cifs_tcon' has no member named 'posix_extensions'
kbuild test robot
lkp at intel.com
Fri Jun 22 21:30:47 UTC 2018
tree: git://git.samba.org/sfrench/cifs-2.6.git for-next
head: 37a0fd808c8d8c2ad7d10275068d1c36dde14daf
commit: 1393fc1253e31e99cc4104f9b2019569c8487dd8 [8/9] smb3: add support for statfs for smb3.1.1 posix extensions
config: x86_64-randconfig-x011-201824 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
git checkout 1393fc1253e31e99cc4104f9b2019569c8487dd8
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
fs//cifs/smb2ops.c: In function 'smb311_queryfs':
>> fs//cifs/smb2ops.c:1542:11: error: 'struct cifs_tcon' has no member named 'posix_extensions'
if (!tcon->posix_extensions)
^~
At top level:
fs//cifs/smb2ops.c:1533:1: warning: 'smb311_queryfs' defined but not used [-Wunused-function]
smb311_queryfs(const unsigned int xid, struct cifs_tcon *tcon,
^~~~~~~~~~~~~~
vim +1542 fs//cifs/smb2ops.c
1531
1532 static int
1533 smb311_queryfs(const unsigned int xid, struct cifs_tcon *tcon,
1534 struct kstatfs *buf)
1535 {
1536 int rc;
1537 __le16 srch_path = 0; /* Null - open root of share */
1538 u8 oplock = SMB2_OPLOCK_LEVEL_NONE;
1539 struct cifs_open_parms oparms;
1540 struct cifs_fid fid;
1541
> 1542 if (!tcon->posix_extensions)
1543 return smb2_queryfs(xid, tcon, buf);
1544
1545 oparms.tcon = tcon;
1546 oparms.desired_access = FILE_READ_ATTRIBUTES;
1547 oparms.disposition = FILE_OPEN;
1548 oparms.create_options = 0;
1549 oparms.fid = &fid;
1550 oparms.reconnect = false;
1551
1552 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, NULL);
1553 if (rc)
1554 return rc;
1555
1556 rc = SMB311_posix_qfs_info(xid, tcon, fid.persistent_fid,
1557 fid.volatile_fid, buf);
1558 buf->f_type = SMB2_MAGIC_NUMBER;
1559 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
1560 return rc;
1561 }
1562
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35172 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180623/0b269bd2/config.gz>
More information about the samba-technical
mailing list