get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230427,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230427/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260429-case-sensitivity-v12-4-8057123bebe0@oracle.com/",
    "project": {
        "id": 12,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": ""
    },
    "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-cifs-client/patch/20260429-case-sensitivity-v12-4-8057123bebe0@oracle.com/mbox/",
    "series": [
        {
            "id": 502123,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502123/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=502123",
            "date": "2026-04-29T18:07:11",
            "name": "Exposing case folding behavior",
            "version": 12,
            "mbox": "http://patchwork.ozlabs.org/series/502123/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230427/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230427/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-11284-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=uNqayZYZ;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-cifs+bounces-11284-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=\"uNqayZYZ\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4g5QLl1q7rz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 04:09:51 +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 455CC30616F6\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 18:08:07 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 66A2B4218A2;\n\tWed, 29 Apr 2026 18:07:40 +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=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=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=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-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": "<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"
    },
    "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"
    ]
}