Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197439/?format=api
{ "id": 2197439, "url": "http://patchwork.ozlabs.org/api/patches/2197439/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260217214741.1928576-10-cel@kernel.org/", "project": { "id": 12, "url": "http://patchwork.ozlabs.org/api/projects/12/?format=api", "name": "Linux CIFS Client", "link_name": "linux-cifs-client", "list_id": "linux-cifs.vger.kernel.org", "list_email": "linux-cifs@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260217214741.1928576-10-cel@kernel.org>", "list_archive_url": null, "date": "2026-02-17T21:47:33", "name": "[v8,09/17] xfs: Report case sensitivity in fileattr_get", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "476a48ed87cbb53e9dcb58189d793b550a814c89", "submitter": { "id": 86689, "url": "http://patchwork.ozlabs.org/api/people/86689/?format=api", "name": "Chuck Lever", "email": "cel@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260217214741.1928576-10-cel@kernel.org/mbox/", "series": [ { "id": 492484, "url": "http://patchwork.ozlabs.org/api/series/492484/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=492484", "date": "2026-02-17T21:47:24", "name": "Subject: Exposing case folding behavior", "version": 8, "mbox": "http://patchwork.ozlabs.org/series/492484/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2197439/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197439/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-cifs+bounces-9424-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-cifs@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=S/Ai+S96;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-9424-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"S/Ai+S96\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFtdr65mRz1xwC\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:52:00 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 4B075308180A\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 21:48:09 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 1E7C42FA0D3;\n\tTue, 17 Feb 2026 21:48:09 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id EE42C2F5A36;\n\tTue, 17 Feb 2026 21:48:08 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 7EEA7C2BC87;\n\tTue, 17 Feb 2026 21:48:06 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771364889; cv=none;\n b=qsYUazmHaX4rTs3WeefUmX3miNRNLSKQtoCwvaPFWCwCqDY1awViPPyMuVTdqTbV6pPsZ/xUyY4TQg7xCDX9GwM0mkwqaRR1ZuQVFl0zUT8rqLi68oq7zr6lEKJK2nLt2kVI6dw4NNlv9ZEmnEJVwxINk61tw0jXUtRad5o+ckI=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771364889; c=relaxed/simple;\n\tbh=fYGZPGOvWWHJ29HyCpYpZWY5Spu1N7gwM+/38CEuEEk=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=a6By33NpL3LSSSUCU4RhdNkLGweIHYpG6lMZeynACxdcv6XAXtT3tRspX98Q5m+RWLchm/KQhOmEB1MgY8niF3+R6zEfcX7m/SDqWXuMQs1ceXYPI1uELpEDYkcDZFH2xmzfgPl0gkJTrl6zcyUOnG/xvUwwUBq2TLE71Uoc0fY=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=S/Ai+S96; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1771364888;\n\tbh=fYGZPGOvWWHJ29HyCpYpZWY5Spu1N7gwM+/38CEuEEk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=S/Ai+S96uG/Gfz7HATywK5Hdnt8vlyZtWhDrlsWq4+HHhqloU2FqnQCAUunQ+j2+S\n\t CDkoGtknNKSJ9d7s0NeTIWe1e52obwCxwbH7zpZ+yKOspWldxxhnElIJDNkXxvKWov\n\t XYuXCW1yVlmz2jI2JL0FOF6EYG4ieCR7GpxwWJU+XbE5n6tQvUEibFHmHgxySgNUPT\n\t HkjR5pf3qNY/RNRescro07eKCGuHm2wqmybZ2Mz2dDVIFTfZ4dhIP5PU4aVMzh/+xu\n\t W1azjC78aQfLp7Dp57Alvp0WlZ7Pk5Pp7qQx8VlUKR8uNTgdWVRSVm6CzOjjpYQ+uD\n\t Axwj1rjBey6Aw==", "From": "Chuck Lever <cel@kernel.org>", "To": "Al Viro <viro@zeniv.linux.org.uk>,\n\tChristian Brauner <brauner@kernel.org>,\n\tJan Kara <jack@suse.cz>", "Cc": "linux-fsdevel@vger.kernel.org,\n\tlinux-ext4@vger.kernel.org,\n\tlinux-xfs@vger.kernel.org,\n\tlinux-cifs@vger.kernel.org,\n\tlinux-nfs@vger.kernel.org,\n\tlinux-api@vger.kernel.org,\n\tlinux-f2fs-devel@lists.sourceforge.net,\n\thirofumi@mail.parknet.co.jp,\n\tlinkinjeon@kernel.org,\n\tsj1557.seo@samsung.com,\n\tyuezhang.mo@sony.com,\n\talmaz.alexandrovich@paragon-software.com,\n\tslava@dubeyko.com,\n\tglaubitz@physik.fu-berlin.de,\n\tfrank.li@vivo.com,\n\ttytso@mit.edu,\n\tadilger.kernel@dilger.ca,\n\tcem@kernel.org,\n\tsfrench@samba.org,\n\tpc@manguebit.org,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttrondmy@kernel.org,\n\tanna@kernel.org,\n\tjaegeuk@kernel.org,\n\tchao@kernel.org,\n\thansg@kernel.org,\n\tsenozhatsky@chromium.org,\n\tChuck Lever <chuck.lever@oracle.com>,\n\t\"Darrick J. Wong\" <djwong@kernel.org>", "Subject": "[PATCH v8 09/17] xfs: Report case sensitivity in fileattr_get", "Date": "Tue, 17 Feb 2026 16:47:33 -0500", "Message-ID": "<20260217214741.1928576-10-cel@kernel.org>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260217214741.1928576-1-cel@kernel.org>", "References": "<20260217214741.1928576-1-cel@kernel.org>", "Precedence": "bulk", "X-Mailing-List": "linux-cifs@vger.kernel.org", "List-Id": "<linux-cifs.vger.kernel.org>", "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "From: Chuck Lever <chuck.lever@oracle.com>\n\nUpper layers such as NFSD need to query whether a filesystem is\ncase-sensitive. Report case sensitivity via the FS_XFLAG_CASEFOLD\nflag in xfs_fileattr_get(). XFS always preserves case. XFS is\ncase-sensitive by default, but supports ASCII case-insensitive\nlookups when formatted with the ASCIICI feature flag.\n\nReviewed-by: \"Darrick J. Wong\" <djwong@kernel.org>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/xfs/xfs_ioctl.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c\nindex 369555275140..41c6b4cd8ac2 100644\n--- a/fs/xfs/xfs_ioctl.c\n+++ b/fs/xfs/xfs_ioctl.c\n@@ -518,6 +518,13 @@ xfs_fileattr_get(\n \txfs_fill_fsxattr(ip, XFS_DATA_FORK, fa);\n \txfs_iunlock(ip, XFS_ILOCK_SHARED);\n \n+\t/*\n+\t * FS_XFLAG_CASEFOLD indicates case-insensitive lookups with\n+\t * case preservation. This matches ASCIICI behavior: lookups\n+\t * fold ASCII case while filenames remain stored verbatim.\n+\t */\n+\tif (xfs_has_asciici(ip->i_mount))\n+\t\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n \treturn 0;\n }\n \n", "prefixes": [ "v8", "09/17" ] }