Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2227324/?format=api
{ "id": 2227324, "url": "http://patchwork.ozlabs.org/api/patches/2227324/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260423-case-sensitivity-v10-4-c385d674a6cf@oracle.com/", "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": "<20260423-case-sensitivity-v10-4-c385d674a6cf@oracle.com>", "list_archive_url": null, "date": "2026-04-23T13:12:07", "name": "[v10,04/17] exfat: Implement fileattr_get for case sensitivity", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "182c062340144b96e420d67c10968151f93969f5", "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/20260423-case-sensitivity-v10-4-c385d674a6cf@oracle.com/mbox/", "series": [ { "id": 501195, "url": "http://patchwork.ozlabs.org/api/series/501195/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=501195", "date": "2026-04-23T13:12:06", "name": "Exposing case folding behavior", "version": 10, "mbox": "http://patchwork.ozlabs.org/series/501195/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2227324/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2227324/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-cifs+bounces-11047-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=D98UTL4V;\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-11047-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=\"D98UTL4V\"", "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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g1cBh58Yfz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 23:19:40 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id E977A307BC81\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 13:12:44 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3EFD93EFD13;\n\tThu, 23 Apr 2026 13:12:33 +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 1A4FB3B95E0;\n\tThu, 23 Apr 2026 13:12:32 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id ABF79C2BCB3;\n\tThu, 23 Apr 2026 13:12:30 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776949953; cv=none;\n b=eG7J0dQWv67EFwqerOnY/o/4rKxX6YuK4ndSUzOQFVZdGETHEw3186hWU6BpLmvX8wl1d0WwqUOyU94ulzTNzmTrDilONk6Sma5T8EVnL3rpHq5X3lrNuz/VrpX9MNcyEc1MAWOBM70mVeV8Cog8HhXriMaiaVVJHLNL5PcKx9A=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776949953; c=relaxed/simple;\n\tbh=NB5dGHQsj3zLr3dcAIz13EIGulkS60j2QYCq86MIXR0=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=p87MIm2dDSoE5rl+A1iK9PTDbYmXYHkNeWj21dCTMgUMqCGdMCox4YtafgzN0pyV/s8OC+ZJbT8deTpiBXr6l8QlM7q9bxL9gzI02Bpe9D/kgMCRXzLJoYl8kzJEvh8tv0CisIVLtTltwOqH0q/nYyrbUaaO57dnbtqAWyh/GRU=", "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=D98UTL4V; 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=1776949952;\n\tbh=NB5dGHQsj3zLr3dcAIz13EIGulkS60j2QYCq86MIXR0=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=D98UTL4VZGvNig5IFBGeqogFyeD8yZuecZNbBLZmLJadhvvFCSQYIsk10SlU9f/Y+\n\t OilgzQOVVccEasG0B749UAOI7RhNxfCWBiNlrR3Hz+tnWKqeLhsRv+VXbjTZMlv/ux\n\t TX1CkvfY8ciWeI0Qci2N7cFt63GndPHClbVaWAz4QEC+t6Jkqd3eSqPW/4PVUVl2Fx\n\t TQPBgMbhg81ujDtUwg/Y3lMZTtBfQ58BrLkYX2SLN7xO59LyDLNW0V+GYMCfluVEjm\n\t AoNB3Vagugb48Hde7VHL6aox2TDS19bagoXJAkKaQXpaTRMnoEJEVn5zeIUfVFQQMQ\n\t A+jh8m7Qfzc7A==", "From": "Chuck Lever <cel@kernel.org>", "Date": "Thu, 23 Apr 2026 09:12:07 -0400", "Subject": "[PATCH v10 04/17] exfat: Implement fileattr_get for case\n sensitivity", "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-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260423-case-sensitivity-v10-4-c385d674a6cf@oracle.com>", "References": "<20260423-case-sensitivity-v10-0-c385d674a6cf@oracle.com>", "In-Reply-To": "<20260423-case-sensitivity-v10-0-c385d674a6cf@oracle.com>", "To": "Al Viro <viro@zeniv.linux.org.uk>,\n Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>", "Cc": "linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org,\n linux-xfs@vger.kernel.org, linux-cifs@vger.kernel.org,\n linux-nfs@vger.kernel.org, linux-api@vger.kernel.org,\n linux-f2fs-devel@lists.sourceforge.net, hirofumi@mail.parknet.co.jp,\n linkinjeon@kernel.org, sj1557.seo@samsung.com, yuezhang.mo@sony.com,\n almaz.alexandrovich@paragon-software.com, slava@dubeyko.com,\n glaubitz@physik.fu-berlin.de, frank.li@vivo.com, tytso@mit.edu,\n adilger.kernel@dilger.ca, cem@kernel.org, sfrench@samba.org,\n pc@manguebit.org, ronniesahlberg@gmail.com, sprasad@microsoft.com,\n trondmy@kernel.org, anna@kernel.org, jaegeuk@kernel.org, chao@kernel.org,\n hansg@kernel.org, senozhatsky@chromium.org,\n Chuck Lever <chuck.lever@oracle.com>", "X-Mailer": "b4 0.16-dev", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=2709;\n i=chuck.lever@oracle.com; h=from:subject:message-id;\n bh=q+8BbK8Itxc1BuNkeDUPYf4FrFMUGad4IdP0+8v/SOk=;\n b=owEBbQKS/ZANAwAKATNqszNvZn+XAcsmYgBp6hqzDXUgGpeYrfk6G6fKlquI9oIt/yNQiAPuM\n X2KRQzy4biJAjMEAAEKAB0WIQQosuWwEobfJDzyPv4zarMzb2Z/lwUCaeoaswAKCRAzarMzb2Z/\n l0FdD/4rKdHL/ffqgOqkeiFmk+BTAPJ0+Chaj3sOX5l8VwCV0SNp95QyLXh9+rpXnv2wE5X8+3e\n dydGtn83WRNrKipUisa/ujBAKndGTMd6I03NskMVMG3EluoBZ9Bg3vhL47Y0y2QmWMH4t+1xPaJ\n Pdxkw9dovPwZyAngsV2C3pl7GMipSHtuQW0KkA8Q+3iieTONjFt5C5G3LWC0IfqiuHDJNBASvw3\n VDObDcMAgnX24DsjyMeW6DfDtQetAwJpYpxUv8aQof8Y1BxYvKseIAKEpeDONS/RxDBtwJu34bm\n 37XQ4C5oYPgnQ4ody3mh/Okpu6GrX2yWFjsANQz0J9txcA7E+ulZSH5dujzGR9H16ZBwlt+1sjh\n 3JBD8AbVeMshHrMRzclMIAH5jwNbUqtWJbNmpcSpCXW9ebyz0NaDrs5hOxeK7RNVl3OVoe4Lli9\n Z8L8iHKcv1F39u6grow366tMzYrSRYtYavg/grLzGdXE/zpRGDRtrm919JTrdfMS3aENy07tb79\n BLKoF4i06AKLwsOoc/4NefbfwtSCNUodqIviMNFkRsxwvmwT4AcId+OKI5t7CuBDnQ+/T9UTGvm\n mR+lszn8Pi5P/7REpwVwAYmCryVi/OT1+cvO5PkYbluM92MZpZBcbrxin5fFbYceJm9fcStrq9f\n Mp2pR4AvdGvquGg==", "X-Developer-Key": "i=chuck.lever@oracle.com; a=openpgp;\n fpr=28B2E5B01286DF243CF23EFE336AB3336F667F97" }, "content": "From: Chuck Lever <chuck.lever@oracle.com>\n\nReport exFAT's case sensitivity behavior via the FS_XFLAG_CASEFOLD\nflag. exFAT is always case-insensitive (using an upcase table for\ncomparison) and always preserves case at rest.\n\nAcked-by: Namjae Jeon <linkinjeon@kernel.org>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/exfat/exfat_fs.h | 2 ++\n fs/exfat/file.c | 17 +++++++++++++++--\n fs/exfat/namei.c | 1 +\n 3 files changed, 18 insertions(+), 2 deletions(-)", "diff": "diff --git a/fs/exfat/exfat_fs.h b/fs/exfat/exfat_fs.h\nindex 89ef5368277f..aff4dcd4e75a 100644\n--- a/fs/exfat/exfat_fs.h\n+++ b/fs/exfat/exfat_fs.h\n@@ -496,6 +496,8 @@ int exfat_setattr(struct mnt_idmap *idmap, struct dentry *dentry,\n int exfat_getattr(struct mnt_idmap *idmap, const struct path *path,\n \t\t struct kstat *stat, unsigned int request_mask,\n \t\t unsigned int query_flags);\n+struct file_kattr;\n+int exfat_fileattr_get(struct dentry *dentry, struct file_kattr *fa);\n int exfat_file_fsync(struct file *file, loff_t start, loff_t end, int datasync);\n long exfat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);\n long exfat_compat_ioctl(struct file *filp, unsigned int cmd,\ndiff --git a/fs/exfat/file.c b/fs/exfat/file.c\nindex 354bdcfe4abc..8af829ef54c4 100644\n--- a/fs/exfat/file.c\n+++ b/fs/exfat/file.c\n@@ -14,6 +14,7 @@\n #include <linux/writeback.h>\n #include <linux/filelock.h>\n #include <linux/falloc.h>\n+#include <linux/fileattr.h>\n \n #include \"exfat_raw.h\"\n #include \"exfat_fs.h\"\n@@ -323,6 +324,17 @@ int exfat_getattr(struct mnt_idmap *idmap, const struct path *path,\n \treturn 0;\n }\n \n+int exfat_fileattr_get(struct dentry *dentry, struct file_kattr *fa)\n+{\n+\t/*\n+\t * exFAT compares filenames through an upcase table, so lookup\n+\t * is always case-insensitive. Long names are stored in UTF-16\n+\t * with case intact; CASENONPRESERVING stays clear.\n+\t */\n+\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n+\treturn 0;\n+}\n+\n int exfat_setattr(struct mnt_idmap *idmap, struct dentry *dentry,\n \t\t struct iattr *attr)\n {\n@@ -817,6 +829,7 @@ const struct file_operations exfat_file_operations = {\n };\n \n const struct inode_operations exfat_file_inode_operations = {\n-\t.setattr = exfat_setattr,\n-\t.getattr = exfat_getattr,\n+\t.setattr\t= exfat_setattr,\n+\t.getattr\t= exfat_getattr,\n+\t.fileattr_get\t= exfat_fileattr_get,\n };\ndiff --git a/fs/exfat/namei.c b/fs/exfat/namei.c\nindex 2c5636634b4a..94002e43db08 100644\n--- a/fs/exfat/namei.c\n+++ b/fs/exfat/namei.c\n@@ -1311,4 +1311,5 @@ const struct inode_operations exfat_dir_inode_operations = {\n \t.rename\t\t= exfat_rename,\n \t.setattr\t= exfat_setattr,\n \t.getattr\t= exfat_getattr,\n+\t.fileattr_get\t= exfat_fileattr_get,\n };\n", "prefixes": [ "v10", "04/17" ] }