Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2227323/?format=api
{ "id": 2227323, "url": "http://patchwork.ozlabs.org/api/patches/2227323/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260423-case-sensitivity-v10-5-c385d674a6cf@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": "<20260423-case-sensitivity-v10-5-c385d674a6cf@oracle.com>", "list_archive_url": null, "date": "2026-04-23T13:12:08", "name": "[v10,05/17] ntfs3: Implement fileattr_get for case sensitivity", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "23e4e2b8452b0c99cb6a9769306e27c85bb11ffb", "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/20260423-case-sensitivity-v10-5-c385d674a6cf@oracle.com/mbox/", "series": [ { "id": 501194, "url": "http://patchwork.ozlabs.org/api/series/501194/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=501194", "date": "2026-04-23T13:12:04", "name": "Exposing case folding behavior", "version": 10, "mbox": "http://patchwork.ozlabs.org/series/501194/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2227323/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2227323/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=znBM=CW=vger.kernel.org=linux-ext4+bounces-16054-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=JrpRvRZn;\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=znbm=cw=vger.kernel.org=linux-ext4+bounces-16054-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=JrpRvRZn;\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-16054-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=\"JrpRvRZn\"", "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 4g1cBf3yMBz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 23:19:38 +1000 (AEST)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g1cBf3WjCz4wHx\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 23:19:38 +1000 (AEST)", "by gandalf.ozlabs.org (Postfix)\n\tid 4g1cBf3SClz4wLm; Thu, 23 Apr 2026 23:19:38 +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 4g1cBb0S5Cz4wHx\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 23 Apr 2026 23:19:35 +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 1ACF630CCB30\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 23 Apr 2026 13:12:50 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id D4A923F0752;\n\tThu, 23 Apr 2026 13:12:35 +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 8EB873EF0B7;\n\tThu, 23 Apr 2026 13:12:35 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 11ACAC2BCB4;\n\tThu, 23 Apr 2026 13:12:33 +0000 (UTC)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1776950378; cv=pass;\n\tb=dLk+XIXJjIHAvbzlx/5EEj80DzP5CwRJMegUD1Fj0VCtG1RBjUYTiNofopHnUrMtGcMb0H3GQGL5kgDk1jA8qPdpSxQe3TfYg0KAECFGind3PT5qcG2XePmBWYKLipu2l/i5mZwle0UiNqIrM1f7Tr0mkVNb+YZ273noM5sfRKUCFRvDkb4pNc89PZhtyKsOT5ZDliob4aTdMtCPLWuvKF5kytXUXrpIrRmYeY3jQNUcYNc4Jowb2ONKZTxGxVsDcBXTdm14MD9vTUteAJH2NWaw5s2baD2O6jNMXbEb4Lg0ascP5g4OcPBxyQNRKQe/B9qa527daafv6e0X6jDyAA==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776949955; cv=none;\n b=OChQWS4VIIhrLSRjluPEAuMsgOwNkmlIyhQagu2QQ1GdcnYKyHmGqaBJNSrpQFK1FAAsLzKGN3agPWyHkw4kYbVqCVBMP473X7TD2qeWWJOjHw2W79MHlwGFcst+HB9K+A8g+EJPuEGGTZh3E9Nt36q9gOLNF4q4tKSnafBQwaY=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1776950378; c=relaxed/relaxed;\n\tbh=RjA4t1lHiEXPEev8/EJ0E1T05ue8WWlalE26yN3F84k=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=Ums2DegnbgOFUEg8JBEAvMFrvEUkCBFN0lxD7vkb0VrhjzNVlcG0a3uo1YqbmZ52W+2kR2TwN/suCouovt8JYyWRooK4CiQCVFaQ9dag7b+jvgVk+L7EIiCJ/4DnrWeX9h2psk7WrFIo47Ra2J0PYvjCrW4h89Vz7TrAgioQ4AJkqETLbhR6qnSQqfZnBEUk96MvwjuIuUhhIqm56/7qILK8aJXCTLqQIjB0oQH3cI0XVcHSHkf4YVXEcE4zKsWTxNSfI4FJxnW5DA2Zsjqd4LNDic82Me+xaGb0Eq8WjP1a5fTuxbtRQTFhoSePeXkdRjKHjWZcA60Bn7IaYwSjcQ==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776949955; c=relaxed/simple;\n\tbh=uXDyD+EwjECxSZf0mUntOuY7XcXST0vj1dof/taqFWQ=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=daoCw846C18pl/iW6dNLT/AsuGRNKxiKMhBcy2dOie0ctDzaw6V4xUDtGozn0IjM3B3wKxu/UZ/hHGBeZSif8u/MjQcPsc65rAoXCrvpryGFYW62xD2wyYQ9dutYtO7be0c28ktnNwLxVddaOuo9fM2p0cM0k84WHljzeeS5kbo=" ], "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=JrpRvRZn; 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-16054-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=JrpRvRZn; 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=1776949955;\n\tbh=uXDyD+EwjECxSZf0mUntOuY7XcXST0vj1dof/taqFWQ=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=JrpRvRZntlzmSt9ocwtUhG6ddWZYDRjHd3wHgujHOMI9U+AYhPisLM30AAtQOLlQe\n\t 01Gd53D7Q2vV9Tlsf8KbLhukDQ5hgQYYOpvuq1dTVpn98qVCcMFZjP6zWh9T6RmOwm\n\t Q4J5y/KnxbQrB55wwDsee3/b7gsbkSNjakEee+EF832pC8iCotKy5yM1V3jXf0Hmci\n\t YPfnl/mmb+3P6krg8qFiojfja3mKm573/WirWY5axwhFtXAJoxqHklWs9N3mNaoLzO\n\t aDR/XD/+lyu/LX6JiNaoqZTKOdgpjX5DEG9QZvF8LI5U3eLFapcJPiBWMh405SKV6O\n\t vB1BHojFWdvbg==", "From": "Chuck Lever <cel@kernel.org>", "Date": "Thu, 23 Apr 2026 09:12:08 -0400", "Subject": "[PATCH v10 05/17] ntfs3: 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": "<20260423-case-sensitivity-v10-5-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=3211;\n i=chuck.lever@oracle.com; h=from:subject:message-id;\n bh=TP8XZKgmTAxM/QUA73jikSOpFVJB/k8sBiRSJXDKGtA=;\n b=owEBbQKS/ZANAwAKATNqszNvZn+XAcsmYgBp6hqzW2r9DI2tTyUqjzcjwCpAxGOG+xohzyr4R\n dvViUQRyjiJAjMEAAEKAB0WIQQosuWwEobfJDzyPv4zarMzb2Z/lwUCaeoaswAKCRAzarMzb2Z/\n l4lWD/92UiZReSXXnnUPKjJmt1G4ZpWEncOQ6tZt0cCjJtDe8G6HC7Ymp5d7309jhHESdw2+Ql9\n hmp5c5DBfW72+LbAklR4Cawp9cGUD2ZfV6+gafPxQiq5nDMCDEPDC31pZxzycBAu1hECkD13Mek\n VKS9Q7ItH0o62WvApgRwqNo3dCv4K1cxI1lPBOv3k0yEe4tuHj0/WvZv+6zsZErGj6QJwVp5cEr\n fAzIhEJhBBzUm/Dd85zcYTRfJmqq4mg5+uRxl79jBXtmYvTP/gsYnB9jnIkKSMHIcg2x9Zo0ENL\n KWmrsj4UHG4m9OwNzj3AR97JH7KTsEHwO684d+eL+kgc7U09eo1MH3DjA6W2Oqo0UmIzNwmemFn\n UPR12UzycdjzphFEetoAb4Kgcd4WnBp9F9znLQgF1N8Nc2JQBoXIhUOU6Z/pCbqvzx0cBy99GuA\n f6eH1dp+pHhjxUEGq2wpsXv8J2lWcJNXdX6WrEGjsy5+SGO+iJCK5uBUqbNJTsnIBUxnYERA1Ww\n oMaxHM4H0mcU5rJ5lk8u8cFX8AnrYhnWxyvzpodJax6nUvjtCMtFghxVclEdLXJcHD5KflWHlxD\n l6scL4KOO0s0EIcxLPT8W0cjAY0hLtqH+4LUUdAAkm/EWeH/hdY3fvfCowy0gHjHmMNxC4mz7Og\n W+xGMMk+5zhUy7w==", "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 NTFS case sensitivity behavior via the FS_XFLAG_CASEFOLD\nflag. NTFS always preserves case at rest.\n\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/ntfs3/file.c | 23 +++++++++++++++++++++++\n fs/ntfs3/inode.c | 1 +\n fs/ntfs3/namei.c | 2 ++\n fs/ntfs3/ntfs_fs.h | 1 +\n 4 files changed, 27 insertions(+)", "diff": "diff --git a/fs/ntfs3/file.c b/fs/ntfs3/file.c\nindex b041639ab406..bb3b3a89204d 100644\n--- a/fs/ntfs3/file.c\n+++ b/fs/ntfs3/file.c\n@@ -180,6 +180,28 @@ long ntfs_compat_ioctl(struct file *filp, u32 cmd, unsigned long arg)\n }\n #endif\n \n+/*\n+ * ntfs_fileattr_get - inode_operations::fileattr_get\n+ */\n+int ntfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa)\n+{\n+\tstruct inode *inode = d_inode(dentry);\n+\tstruct ntfs_sb_info *sbi = inode->i_sb->s_fs_info;\n+\n+\t/* Avoid any operation if inode is bad. */\n+\tif (unlikely(is_bad_ni(ntfs_i(inode))))\n+\t\treturn -EINVAL;\n+\n+\t/*\n+\t * NTFS preserves case (the default). Case sensitivity depends on\n+\t * mount options: with \"nocase\", NTFS is case-insensitive;\n+\t * otherwise it is case-sensitive.\n+\t */\n+\tif (sbi->options->nocase)\n+\t\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n+\treturn 0;\n+}\n+\n /*\n * ntfs_getattr - inode_operations::getattr\n */\n@@ -1547,6 +1569,7 @@ const struct inode_operations ntfs_file_inode_operations = {\n \t.get_acl\t= ntfs_get_acl,\n \t.set_acl\t= ntfs_set_acl,\n \t.fiemap\t\t= ntfs_fiemap,\n+\t.fileattr_get\t= ntfs_fileattr_get,\n };\n \n const struct file_operations ntfs_file_operations = {\ndiff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c\nindex 42af1abe17f8..a5ff04c2efd3 100644\n--- a/fs/ntfs3/inode.c\n+++ b/fs/ntfs3/inode.c\n@@ -2095,6 +2095,7 @@ const struct inode_operations ntfs_link_inode_operations = {\n \t.get_link\t= ntfs_get_link,\n \t.setattr\t= ntfs_setattr,\n \t.listxattr\t= ntfs_listxattr,\n+\t.fileattr_get\t= ntfs_fileattr_get,\n };\n \n const struct address_space_operations ntfs_aops = {\ndiff --git a/fs/ntfs3/namei.c b/fs/ntfs3/namei.c\nindex b2af8f695e60..eb241d7796ba 100644\n--- a/fs/ntfs3/namei.c\n+++ b/fs/ntfs3/namei.c\n@@ -518,6 +518,7 @@ const struct inode_operations ntfs_dir_inode_operations = {\n \t.getattr\t= ntfs_getattr,\n \t.listxattr\t= ntfs_listxattr,\n \t.fiemap\t\t= ntfs_fiemap,\n+\t.fileattr_get\t= ntfs_fileattr_get,\n };\n \n const struct inode_operations ntfs_special_inode_operations = {\n@@ -526,6 +527,7 @@ const struct inode_operations ntfs_special_inode_operations = {\n \t.listxattr\t= ntfs_listxattr,\n \t.get_acl\t= ntfs_get_acl,\n \t.set_acl\t= ntfs_set_acl,\n+\t.fileattr_get\t= ntfs_fileattr_get,\n };\n \n const struct dentry_operations ntfs_dentry_ops = {\ndiff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h\nindex bbf3b6a1dcbe..41db22d652c4 100644\n--- a/fs/ntfs3/ntfs_fs.h\n+++ b/fs/ntfs3/ntfs_fs.h\n@@ -529,6 +529,7 @@ bool dir_is_empty(struct inode *dir);\n extern const struct file_operations ntfs_dir_operations;\n \n /* Globals from file.c */\n+int ntfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa);\n int ntfs_getattr(struct mnt_idmap *idmap, const struct path *path,\n \t\t struct kstat *stat, u32 request_mask, u32 flags);\n int ntfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry,\n", "prefixes": [ "v10", "05/17" ] }