get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2230435/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2230435,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230435/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260429-case-sensitivity-v12-4-8057123bebe0@oracle.com/",
    "project": {
        "id": 8,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260429-case-sensitivity-v12-4-8057123bebe0@oracle.com>",
    "date": "2026-04-29T18:07:15",
    "name": "[v12,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/1.1/people/86689/?format=api",
        "name": "Chuck Lever",
        "email": "cel@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260429-case-sensitivity-v12-4-8057123bebe0@oracle.com/mbox/",
    "series": [
        {
            "id": 502125,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502125/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=502125",
            "date": "2026-04-29T18:07:11",
            "name": "Exposing case folding behavior",
            "version": 12,
            "mbox": "http://patchwork.ozlabs.org/series/502125/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230435/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230435/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <SRS0=E9Ze=C4=vger.kernel.org=linux-ext4+bounces-16232-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=uNqayZYZ;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=150.107.74.76; helo=mail.ozlabs.org;\n envelope-from=srs0=e9ze=c4=vger.kernel.org=linux-ext4+bounces-16232-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c15:e001:75::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=uNqayZYZ;\n\tdkim-atps=neutral",
            "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16232-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=\"uNqayZYZ\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])\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 4g5QN45mhmz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 04:11:00 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g5QN45JsLz4w9R\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 04:11:00 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g5QN45DJmz4wLM; Thu, 30 Apr 2026 04:11:00 +1000 (AEST)",
            "from sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::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 4g5QN1088yz4w9R\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 30 Apr 2026 04:10:56 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 459573016B1C\n\tfor <patchwork-incoming@ozlabs.org>; Wed, 29 Apr 2026 18:08:10 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3D0594218AC;\n\tWed, 29 Apr 2026 18:07:41 +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 3C427421886;\n\tWed, 29 Apr 2026 18:07:39 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 28F06C19425;\n\tWed, 29 Apr 2026 18:07:36 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1777486260; cv=pass;\n\tb=hvfzEw99H2YVdOJiCWf7/LJRW1kljXg9ERPm439aG0hiZLCx7AuZ17hfnzL9bM8ltxEInu5mRoMHx0GiwyRkJzvGpkm9onaRN+BkcMsEfGwKxmPQ8Je5/EBAYvhcgGh+88x1T7g1SWauZaFHxy4uN03FsWS/YvfoikPI9qkFGKLDJtRNc82gw69Gp35G+vm2lSpx0TFBw0JdTPKqQhXeFw8+9vRoLihTGvmq9mfm1C2CL054aeN/afSWHIsrI/aAnyt10JnPxsCT93ilZCj2mKj32clMkoH71IIoLcUGw0eSDv9Z2JDzv2jvrP8ZfZ0ZdXrq5AguUdu1tGWglfGFJw==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777486059; cv=none;\n b=bQs+TKLeLdjjaW80Gl38WfUOy31ApecEKXhDmNi/0I0otSTnAlkaHtIVDxQ6zKJYlith+68fSwOzTLQdqs+dh8evtRI1rAeCR7Wir/diNDNYxi6DxuFvVeQ0+0sr9jQmCw/1Ia0EZBnFHtahRiPbjVpnc8k0xgzd06QFNcSF8ik="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1777486260; 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=RiLTd2Y5FzpLX8n7jgw+GOq0AP6S2rxifofeo3Pq/rCXtOwiVCbY/duCpeOaShI62lZheWrr4HsMO7L60oQ3yudKvD0xvw8AdDG8ELkQc4Ok2wh2Mdj4OG2yP2JLyuDWcolQxMVzQ5KIDNiGRFdXCjzJiYFjR2j9on9u7KL9MrIN7F5NgPABDVViFRMZxas/wk2Z+YlurKajJqON51FZzIwx5U0fynWY8jVjBBl3+SOGja3vFsumqDkgFe5NYHi+aQ0JKPxCGa7wYRlOtKTm6eUzwwcOuQbYPcNzqi0OEQ7n+OxKWA2PeLCyX9mqTU0neuDUwx1d4KB01K7tR4T4cg==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777486059; 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=I8Ho/VblUSE5mr3vsPPwK8B7CDI+gBJ2A1l53+mQ/p6Pbnj61QHHOka8a3IRs7m/QhlPQGWBOsh9hBRCq22Wj6M+w6wz4pVJnDIF7lhZ3bGCcu8VAem91VSdq79tGFG9pWxJJS3PpWJ3+WIAC0MRHzCPCRZIAeXI0xq34AyyPqc="
        ],
        "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=uNqayZYZ; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-ext4+bounces-16232-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=uNqayZYZ; 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=1777486058;\n\tbh=wqnEoHXABCWnB4qIWNaXjQlMxqtzft0aZTt1jlyUTc4=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=uNqayZYZP4d563Tz6s0A1L/NElElR5OfMej6OgVnKHNKHOMVL3qz7HuVwE814+tkv\n\t 60CFgp/9LuMqUXQ0yRkEvFIk6gJOoWdytmlrp82skKYaWcD22Qjzgo4YufxSuMUhJQ\n\t S5lUwW/KhyctGMW2ueXZbtsl8DlEoTEnOlNT0qByQknvSSc4T7g2FvJ/OCFPfYR2ZK\n\t eG6P/fxh0C/Yo46sbrDQNJMspY49NFRHNgrd1XI+KoDFbl3VKoqdBGrWo1fOeHg8+v\n\t a34p07+Z8KVjrtm02CLaW1F+stNZC9buDDB4k9AFzo60ZKipMyZnHmjtmho3/3geVQ\n\t 6kW0kdRwX1FZg==",
        "From": "Chuck Lever <cel@kernel.org>",
        "Date": "Wed, 29 Apr 2026 14:07:15 -0400",
        "Subject": "[PATCH v12 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": "<20260429-case-sensitivity-v12-4-8057123bebe0@oracle.com>",
        "References": "<20260429-case-sensitivity-v12-0-8057123bebe0@oracle.com>",
        "In-Reply-To": "<20260429-case-sensitivity-v12-0-8057123bebe0@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=owEBbAKT/ZANAwAKATNqszNvZn+XAcsmYgBp8kjclPHLKujAIhKkKbRXlwRZNaf5RgoJ3oMOU\n E5MKvmM13eJAjIEAAEKAB0WIQQosuWwEobfJDzyPv4zarMzb2Z/lwUCafJI3AAKCRAzarMzb2Z/\n lzD7D/dssDt6Zw0RVQNoctEaM5wgO54Tc2OrV2z18f+Cv1vGBLyqVHiZjO2hpjljhLyMGFYYUzz\n oyz6yv7JmtpaqVTp5QLSVryQtmcYBtbciMjUzY9Ls+BKcFWnmB5wekk6uMBPm0tSX2IsKbboI7E\n nYuchKc88nOuYn64PY8S4T9lDsFvlXgU9XvQHO7khrtV5hEoOGgBGNhV5G5/05YkdoSKZ8xmzvp\n 5XdxH+59lf2QOLPWwWGmBc8IxyscmlJhBDME6a10wnl9rWdhBDQMZf4UWWJZ44AtGRK7mLkCrxy\n +295OXft8VxkMM6Rzba+GZE1WbXx/lEmpvcOZNrKYpZp6IJsbe0P+uKqaejyUqstqZJCeZtdTh0\n x+WZTE5zGZjFyu5q6VD4rLvcDvoXqta5wG5L0LDNAFcnBggI+guTmMJk4SiZ8MY4qxPMjycJmKu\n FsYFSy4fv4uR3GtDqwYk+x6fr+msS3vVEu4mvxnS5O1Q8yWcmu7xxA9+MOwjyZVkWfk1x3T3323\n 9KeV+1N9SR9eoAtnPOAh3lRJ7UGv3xZ9pHlo6FlhJx6BprXHUXGxy6Uz36U5vW/hPjeTocfivfr\n OcSTxn96Ts5ufrREAQFlCvqXemdGxwFX0HxRbZKMOa1H0dblwqgVtyNjnjYC7wbTdDL420JNqSi\n gMVx4QCofoojG",
        "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": [
        "v12",
        "04/15"
    ]
}