Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2228055/?format=api
{ "id": 2228055, "url": "http://patchwork.ozlabs.org/api/patches/2228055/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260424-case-sensitivity-v11-4-de5619beddaf@oracle.com/", "project": { "id": 8, "url": "http://patchwork.ozlabs.org/api/projects/8/?format=api", "name": "Linux ext4 filesystem development", "link_name": "linux-ext4", "list_id": "linux-ext4.vger.kernel.org", "list_email": "linux-ext4@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260424-case-sensitivity-v11-4-de5619beddaf@oracle.com>", "list_archive_url": null, "date": "2026-04-25T01:53:06", "name": "[v11,04/15] exfat: Implement fileattr_get for case sensitivity", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0691397374acc26816da81c278ec61ae0ba05222", "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-ext4/patch/20260424-case-sensitivity-v11-4-de5619beddaf@oracle.com/mbox/", "series": [ { "id": 501417, "url": "http://patchwork.ozlabs.org/api/series/501417/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=501417", "date": "2026-04-25T01:53:02", "name": "Exposing case folding behavior", "version": 11, "mbox": "http://patchwork.ozlabs.org/series/501417/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2228055/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228055/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=4tEx=CY=vger.kernel.org=linux-ext4+bounces-16086-patchwork-incoming=ozlabs.org@ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-ext4@vger.kernel.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "patchwork-incoming@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=fozMK6S9;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org;\n envelope-from=srs0=4tex=cy=vger.kernel.org=linux-ext4+bounces-16086-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)", "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c04:e001:36c::12fc:5321\"\n arc.chain=subspace.kernel.org", "gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org", "gandalf.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=fozMK6S9;\n\tdkim-atps=neutral", "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16086-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"fozMK6S9\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\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 4g2Xvd72PLz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 25 Apr 2026 11:54:53 +1000 (AEST)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g2Xvd6bQgz4wBD\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 25 Apr 2026 11:54:53 +1000 (AEST)", "by gandalf.ozlabs.org (Postfix)\n\tid 4g2Xvd6Wnpz4wby; Sat, 25 Apr 2026 11:54:53 +1000 (AEST)", "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::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 gandalf.ozlabs.org (Postfix) with ESMTPS id 4g2XvZ1qjpz4wBD\n\tfor <patchwork-incoming@ozlabs.org>; Sat, 25 Apr 2026 11:54:50 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 4B3A7303F45E\n\tfor <patchwork-incoming@ozlabs.org>; Sat, 25 Apr 2026 01:53:47 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 6484A23A561;\n\tSat, 25 Apr 2026 01:53:34 +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 229BC199FAB;\n\tSat, 25 Apr 2026 01:53:33 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 8034EC2BCB9;\n\tSat, 25 Apr 2026 01:53:31 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777082093; cv=pass;\n\tb=Y4Ecqkw0LGd9Qdx8Oun2P+s5jAKsAmLr4tAbPGkHNnEkGVHqK0VL9Ta/+gDFl1JPL2YzRZAM6uleo8A2LAmq9uOUYwLx3xLgjNkUgU+QTItwVVMy3/oQdxYPea+VDeZWddfwxcqyGQ46Gmqvpex3kS9vuyf+0yQnHsMZMzH5znC+aau2xdrCVozvbjf15B265l8AOrfQ7h/MBOeftQmfBNk+L2noQW3PCCXvE92WDjnlerGwYj8HQE7mKCGHOVRUY55uhgn7hUr17e6ArsyblBLbu5VDOireJr2VppucXg+1Paevct4bBCqZDpXexhLo/6pyNnGdQASA3ldXAH98CA==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777082014; cv=none;\n b=UaPTX8PP3PCy5/Pqg6EHNeD3fObhAVBQTDomD3s+DnEFU74buh36u5OxaK7jwjw4OwZW3J6b+aUQIj/BYDJPTj2r17Vt3aKj43xk7OmJEJC8W/mzHnl+GZ8tjwYvQHwvnfryH4hTKGLRlUSsTMu0vGfpa3sruFr01Lanas3+vrI=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777082093; c=relaxed/relaxed;\n\tbh=u3GssT042DH81kfkitTV42dcmSLgashYqmassQheKWg=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=Bv3DipP65vOhUf6kp5ULlRfQWueF8B9iZkqoTcECYzXGJPpLg/Ig0EMCx75g1ekd5HPCrY2Efd5FUaP8CJl9nMKuL2NIKPt73toMtrobASvdAzgZ7bSYBrIw6zbwd24CO6pTLtVFZ7jtk+YooqBDDQSL6phntQYZVSM6OGFyPBZ302ZKyBepAAJpn/Wjo719gBTZDs8c1ffCh6970J09zMhbE6RlMXReSUWpySLJn2qGObjrtAG54JhskxfzpUgMcAI4riEd0KuG3BIVCwzniCMKjT3nfmDBhkBmaUwu/Ra6arAU+0a+rn2mvfVEKf89Fuo2N8oYebkpBgzpI0W2qw==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777082014; c=relaxed/simple;\n\tbh=wqnEoHXABCWnB4qIWNaXjQlMxqtzft0aZTt1jlyUTc4=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=sxXB9gpEBWUmzAcziu5J0wUGSNdtUL/kbXJ+yQ97aWCsHPX0I4CRpMXLZbpYs7CGgxq+HcKDyyeomMAHH8SdhJ4hx+DxyRRd/PQc6SOvasUDcFjltd2e1Z6LiH8pzgG9pO9bHiPPVMGa/YfeAqRuG/eZG0Y29aP4SVdhnCIjn74=" ], "ARC-Authentication-Results": [ "i=2; gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=fozMK6S9; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16086-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org", "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=fozMK6S9; 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=1777082013;\n\tbh=wqnEoHXABCWnB4qIWNaXjQlMxqtzft0aZTt1jlyUTc4=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=fozMK6S9eYLfaRO1+ETFl93gEvxMEK3W3hWvSjoJE/6PwL7erxD1UgMB71Hkw/W2J\n\t rCZKAK38ItJTKA6p3Q43icJu+6uD5WQAYVa96GULbu/NabHBAAQfGtFWmS47rDotPq\n\t Ld1Xw8SnG0S31/uhfm5XCM6Plg08lXZfy+wkaQIX/jVgQ5yFDLchZxAgozuzSRtYEx\n\t ttJs+7NZCh6PDCa5gw0Vk+n5v42YE7a7soHU3w1Xdn3HUaT1BB+6v5gIx5hsCUoxNe\n\t gCkhy4JQDH9H0xJdvSN7FbIcLEHgeItoDVMzQJMlzTW3FUbWihk0YkYxwOedWINTrf\n\t oY/diOPP+8Pkg==", "From": "Chuck Lever <cel@kernel.org>", "Date": "Fri, 24 Apr 2026 21:53:06 -0400", "Subject": "[PATCH v11 04/15] exfat: Implement fileattr_get for case\n sensitivity", "Precedence": "bulk", "X-Mailing-List": "linux-ext4@vger.kernel.org", "List-Id": "<linux-ext4.vger.kernel.org>", "List-Subscribe": "<mailto:linux-ext4+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-ext4+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260424-case-sensitivity-v11-4-de5619beddaf@oracle.com>", "References": "<20260424-case-sensitivity-v11-0-de5619beddaf@oracle.com>", "In-Reply-To": "<20260424-case-sensitivity-v11-0-de5619beddaf@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>,\n Roland Mainz <roland.mainz@nrubsig.org>", "X-Mailer": "b4 0.16-dev", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=2796;\n i=chuck.lever@oracle.com; h=from:subject:message-id;\n bh=Jrgq3TGYmS+gsjYQgXc1oI5YkxxrwLITLmwEPv8w32E=;\n b=owEBbQKS/ZANAwAKATNqszNvZn+XAcsmYgBp7B6QBuYz3NECRagQ5ROLT/1nvTP6F/YQBFkHh\n k+rXhvNmymJAjMEAAEKAB0WIQQosuWwEobfJDzyPv4zarMzb2Z/lwUCaewekAAKCRAzarMzb2Z/\n l04kD/9/XtL1PCnDsaBe6bqOf/yFrG0jpUzClM+mDrkjVvvvuGkvYYHioDSZBGQeEG/fJc2u/WK\n PQ4QMfQN6rtxj2xRrd5K3AFaApP2I7IZM9GoJBNVvZO72xHahvDZmkY3Qn35Igd6EbBS+KFewL8\n fMWtHZRLCBLOJGxVRbnfLkLokjnl5APRObRvqIUOkMBcn1YhoZfzDLvLzNDqqtD8y8kFl2OAVDe\n /R335GvPLyh7EmFLRtYvoOPYCSmt7YthR6xdbYx6p35j9HBp3TW2zn10aC3cHTaJWINg2aLOlgY\n CoeTKZC+bds8EvEc7NGViZR1FZ3Q0r1jwaoIh7V0KwZAuz01z4oXVWVJI+QOgNa8ARMHxvv5j6F\n cyfsGwj5z5oKVSSwkviuXbyZkcPlzys+kzkW0qqvzDCpUjfmW+7dizmAMwYGw58xxDY2Xi9wX1U\n TMcGgrZmmX4mFa+x92Aecdl9qv3Hu9VpvOSiwB3jMGhRvxSwifHcB+/cFc1L4ayh7G+GBDujBOj\n Hcr90oXLrjbguBPv48S1bbP7oXpFZMtHcnHEopKsWdMVCLTlpRXFOZjJfbgAEnyu8l1GLos/vs0\n xxFBvhwnA8gmiPMqtRjE4Lu5fiwtDdYlSlzVN8Vc0X3GTWFDkn3SKcrOcjOkVl5oNmVoV/u+8Gc\n 1WZsuX/riZO9Lzg==", "X-Developer-Key": "i=chuck.lever@oracle.com; a=openpgp;\n fpr=28B2E5B01286DF243CF23EFE336AB3336F667F97", "X-Spam-Status": "No, score=-1.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,\n\tMAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org" }, "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>\nReviewed-by: Roland Mainz <roland.mainz@nrubsig.org>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/exfat/exfat_fs.h | 2 ++\n fs/exfat/file.c | 18 ++++++++++++++++--\n fs/exfat/namei.c | 1 +\n 3 files changed, 19 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..91e5511945d1 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,18 @@ 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+\tfa->flags |= FS_CASEFOLD_FL;\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 +830,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": [ "v11", "04/15" ] }