From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CBC7478841 for ; Fri, 5 Jun 2026 07:26:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780644375; cv=none; b=gUEufbcLFqkc9QQn/c7eohqc98vk8JnNN58m84VOI8xMJQT2yKJucTwgxZfchf8MNVqXA9AK0AQxYqTiY2oLdQL5Ab41/vVs54IvyBK+amveNpB8iB+ZHfDCSMlPi7qtuGuh9xjLDZmfrvxLy3D/8hIwsqJ+rH14P0bOhZtmG2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780644375; c=relaxed/simple; bh=NQip+JdFvBtPt9vM5X0vFHjtaGrkzEF4vnCv4el1hp0=; h=Date:From:To:Cc:Subject:Message-ID; b=ugJxJrrdjyysOlSHF+rp4yQoSZdzLiOTjNAVSnT/Kd77ax2RJEi3R/q05Dq33HOKYwgy4tKyd3C1bhJg7/0KHVEk0xfrdxhn/bESj/7tRap30v0mpgS6XOFMkPkuitGrLZEKamYi4caDYnZyrg4XQFt+C1L2dgjeXAK3XkUWWpY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=MEFu4LMo; arc=none smtp.client-ip=192.198.163.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MEFu4LMo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1780644373; x=1812180373; h=date:from:to:cc:subject:message-id; bh=NQip+JdFvBtPt9vM5X0vFHjtaGrkzEF4vnCv4el1hp0=; b=MEFu4LMo/LQo6JmAYhlae17Y9qcV6FQ1I32XPh0Ek/7Yr0IxgEbe628G OB6oJAGOPSFHrXhhgE5dPOxlmnAcqs17OEhl09FNqE/85q9S+9cAMznsR 9ILWX+c6G/C76hdH8FpxnUNn2x6CJnCu0UwkAv1a6eErggnAuRZEy+lc7 u2WZAtExFFaLs+X01qSATmtYqPvOtbbnQKJuAookwLqPp6DT5fbcSRwwP d3YY6LOd6MGwAY3LOkqcVPksz2WNxof45OiOFkwDfOE5gWRaQXM/ZindG Ar7bNi48U+cpAFtXVDOrTuembAb/XYxGD69VyELONMmzixjBdxo2kFZOs g==; X-CSE-ConnectionGUID: WrD1/YIcTNypITB4jc6NZw== X-CSE-MsgGUID: qyVXdC/RSQyqH5yc6fFnIg== X-IronPort-AV: E=McAfee;i="6800,10657,11807"; a="81600208" X-IronPort-AV: E=Sophos;i="6.24,188,1774335600"; d="scan'208";a="81600208" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2026 00:26:12 -0700 X-CSE-ConnectionGUID: gVbgLu/pRd2OJWUpwFvb5g== X-CSE-MsgGUID: X3HPebkkRGeS8l08Xok1aQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,188,1774335600"; d="scan'208";a="268464812" Received: from igk-lkp-server01.igk.intel.com (HELO 892db79562d4) ([10.211.93.152]) by fmviesa002.fm.intel.com with ESMTP; 05 Jun 2026 00:26:11 -0700 Received: from kbuild by 892db79562d4 with local (Exim 4.98.2) (envelope-from ) id 1wVOwS-000000002VV-33ST; Fri, 05 Jun 2026 07:26:08 +0000 Date: Fri, 05 Jun 2026 09:25:36 +0200 From: kernel test robot To: Chuck Lever Cc: oe-kbuild-all@lists.linux.dev, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, Steve French , Roland Mainz Subject: [cifs:for-next-next 15/16] fs/smb/client/cifsfs.c:1204:43: error: 'FS_XFLAG_CASEFOLD' undeclared Message-ID: <202606050946.OIt0UXdo-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-cifs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tree: git://git.samba.org/sfrench/cifs-2.6.git for-next-next head: 910f40bbf5dc81b5fcc5592fdd4caa29e80ffce0 commit: 4fb53948f97f5e89700fa933ba7d928ba1980f06 [15/16] cifs: Implement fileattr_get for case sensitivity config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20260605/202606050946.OIt0UXdo-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260605/202606050946.OIt0UXdo-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202606050946.OIt0UXdo-lkp@intel.com/ All errors (new ones prefixed by >>): fs/smb/client/cifsfs.c: In function 'cifs_fileattr_get': >> fs/smb/client/cifsfs.c:1204:43: error: 'FS_XFLAG_CASEFOLD' undeclared (first use in this function) 1204 | fa->fsx_xflags |= FS_XFLAG_CASEFOLD; | ^~~~~~~~~~~~~~~~~ fs/smb/client/cifsfs.c:1204:43: note: each undeclared identifier is reported only once for each function it appears in >> fs/smb/client/cifsfs.c:1215:35: error: 'FS_XFLAG_CASENONPRESERVING' undeclared (first use in this function) 1215 | fa->fsx_xflags |= FS_XFLAG_CASENONPRESERVING; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/FS_XFLAG_CASEFOLD +1204 fs/smb/client/cifsfs.c 1168 1169 int cifs_fileattr_get(struct dentry *dentry, struct file_kattr *fa) 1170 { 1171 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb); 1172 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); 1173 struct inode *inode = d_inode(dentry); 1174 u32 attrs; 1175 1176 /* Preserve FS_COMPR_FL previously reported by cifs_ioctl(). */ 1177 if (CIFS_I(inode)->cifsAttrs & ATTR_COMPRESSED) 1178 fa->flags |= FS_COMPR_FL; 1179 1180 /* 1181 * FS_CASEFOLD_FL is defined by UAPI as a folder attribute, 1182 * and userspace tools (e.g., lsattr) display it only on 1183 * directories. Confine the case-handling bits to directories 1184 * to match that convention; for non-directories the share's 1185 * case semantics are still discoverable through the parent. 1186 */ 1187 if (!S_ISDIR(inode->i_mode)) 1188 return 0; 1189 1190 /* 1191 * The server's FS_ATTRIBUTE_INFORMATION response, cached on 1192 * the tcon at mount, reflects the share's case-handling 1193 * semantics after any POSIX extensions negotiation. Prefer 1194 * it over the client-local nocase mount option, which only 1195 * governs dentry comparison on this superblock. 1196 * 1197 * QueryFSInfo is best-effort at mount; when it did not 1198 * populate fsAttrInfo, MaxPathNameComponentLength remains 1199 * zero. In that case fall back to nocase so the reporting 1200 * matches the comparison behavior installed on the sb. 1201 */ 1202 if (le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength) == 0) { 1203 if (tcon->nocase) { > 1204 fa->fsx_xflags |= FS_XFLAG_CASEFOLD; 1205 fa->flags |= FS_CASEFOLD_FL; 1206 } 1207 return 0; 1208 } 1209 attrs = le32_to_cpu(tcon->fsAttrInfo.Attributes); 1210 if (!(attrs & FILE_CASE_SENSITIVE_SEARCH)) { 1211 fa->fsx_xflags |= FS_XFLAG_CASEFOLD; 1212 fa->flags |= FS_CASEFOLD_FL; 1213 } 1214 if (!(attrs & FILE_CASE_PRESERVED_NAMES)) > 1215 fa->fsx_xflags |= FS_XFLAG_CASENONPRESERVING; 1216 return 0; 1217 } 1218 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki