get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197430,
    "url": "http://patchwork.ozlabs.org/api/patches/2197430/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260217214741.1928576-5-cel@kernel.org/",
    "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": "<20260217214741.1928576-5-cel@kernel.org>",
    "list_archive_url": null,
    "date": "2026-02-17T21:47:28",
    "name": "[v8,04/17] exfat: Implement fileattr_get for case sensitivity",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1f95b24f3bae7194d5982656f0e6f04688b7dc45",
    "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/20260217214741.1928576-5-cel@kernel.org/mbox/",
    "series": [
        {
            "id": 492484,
            "url": "http://patchwork.ozlabs.org/api/series/492484/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=492484",
            "date": "2026-02-17T21:47:24",
            "name": "Subject: Exposing case folding behavior",
            "version": 8,
            "mbox": "http://patchwork.ozlabs.org/series/492484/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2197430/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197430/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-9419-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=HkQWUGwN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-9419-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=\"HkQWUGwN\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\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 4fFtbf585lz1xvq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:50:06 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id DDC583058BB7\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 21:47:58 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id D85EB2FD1B3;\n\tTue, 17 Feb 2026 21:47:56 +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 B2B492FCC01;\n\tTue, 17 Feb 2026 21:47:56 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 1752BC4CEF7;\n\tTue, 17 Feb 2026 21:47:54 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771364876; cv=none;\n b=un/rh9s/NMRd6h2Q7/txTW6wX3DQRZigeUC0iKpD9zi1rN3C53SYdE7lxQZvdQFFqGdx+TvYRmSQElbLCIMtjd41Mw6hNM1NWHjdhtz3ksPNhhw98oM+qtw0tWXJpyjeYelVyjPvjpRLgEEGZLqMRSMSYW0l54MOLi9pxRdOwXI=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771364876; c=relaxed/simple;\n\tbh=jqBG6MkL4KZPFA3a1GqxBqdJRUrkvA5i1/WFsqQI3ek=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=T/YySyirgtQiPRbCgPvWA3kIviTOlr50/JlvFO4+fMEYkkIMzphaHe4zMOV+NUwvcnZWNTy3CMx6r8krpU6uFM4eAaoJM7r1XoEj4PWNf/757wN3OZmiO1qHMhLvpX1H82ZXrHbfvLZtdVqfMLTfk5iXaWKWunWQwDbtyMMgKx8=",
        "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=HkQWUGwN; 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=1771364876;\n\tbh=jqBG6MkL4KZPFA3a1GqxBqdJRUrkvA5i1/WFsqQI3ek=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=HkQWUGwNMSyYjRDCN2P6QXiho+aAJFeccbLO30JKCT1m10rCY5iuTj7fjshNfwLj2\n\t pvCgCBc9jzTr4s8cAS+yvkKwS1aCArc/fEYVSfR0fooTq5s+fj2CKgWX2vXKsXkOMF\n\t sWd77ftG+yDh/sf5dxpXusxsuChTzybBmxDtTDgjQIpF0wFZrg9Syd1zu+EO8M7heZ\n\t wtyUHp7o905rf/fWjtHHy2svpllm4ee6bBTrycVGkYKrBoLec4/PkvtHESZzLeMGdk\n\t t2KOuzpbk+k4OGOdxcjwoTonZCWUYX+aFxxhdLWilABp8JnPZsIMNhX50BpKgzlTxW\n\t KCIAVCkg/pi6Q==",
        "From": "Chuck Lever <cel@kernel.org>",
        "To": "Al Viro <viro@zeniv.linux.org.uk>,\n\tChristian Brauner <brauner@kernel.org>,\n\tJan Kara <jack@suse.cz>",
        "Cc": "linux-fsdevel@vger.kernel.org,\n\tlinux-ext4@vger.kernel.org,\n\tlinux-xfs@vger.kernel.org,\n\tlinux-cifs@vger.kernel.org,\n\tlinux-nfs@vger.kernel.org,\n\tlinux-api@vger.kernel.org,\n\tlinux-f2fs-devel@lists.sourceforge.net,\n\thirofumi@mail.parknet.co.jp,\n\tlinkinjeon@kernel.org,\n\tsj1557.seo@samsung.com,\n\tyuezhang.mo@sony.com,\n\talmaz.alexandrovich@paragon-software.com,\n\tslava@dubeyko.com,\n\tglaubitz@physik.fu-berlin.de,\n\tfrank.li@vivo.com,\n\ttytso@mit.edu,\n\tadilger.kernel@dilger.ca,\n\tcem@kernel.org,\n\tsfrench@samba.org,\n\tpc@manguebit.org,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttrondmy@kernel.org,\n\tanna@kernel.org,\n\tjaegeuk@kernel.org,\n\tchao@kernel.org,\n\thansg@kernel.org,\n\tsenozhatsky@chromium.org,\n\tChuck Lever <chuck.lever@oracle.com>",
        "Subject": "[PATCH v8 04/17] exfat: Implement fileattr_get for case sensitivity",
        "Date": "Tue, 17 Feb 2026 16:47:28 -0500",
        "Message-ID": "<20260217214741.1928576-5-cel@kernel.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260217214741.1928576-1-cel@kernel.org>",
        "References": "<20260217214741.1928576-1-cel@kernel.org>",
        "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-Transfer-Encoding": "8bit"
    },
    "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     | 16 ++++++++++++++--\n fs/exfat/namei.c    |  1 +\n 3 files changed, 17 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/fs/exfat/exfat_fs.h b/fs/exfat/exfat_fs.h\nindex 2dbed5f8ec26..686d4cd49546 100644\n--- a/fs/exfat/exfat_fs.h\n+++ b/fs/exfat/exfat_fs.h\n@@ -468,6 +468,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 90cd540afeaa..15629b0a6f6d 100644\n--- a/fs/exfat/file.c\n+++ b/fs/exfat/file.c\n@@ -13,6 +13,7 @@\n #include <linux/msdos_fs.h>\n #include <linux/writeback.h>\n #include <linux/filelock.h>\n+#include <linux/fileattr.h>\n \n #include \"exfat_raw.h\"\n #include \"exfat_fs.h\"\n@@ -282,6 +283,16 @@ 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 is always case-insensitive (using upcase table).\n+\t * Case is preserved at rest (the default).\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@@ -775,6 +786,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 670116ae9ec8..7895dda5cdb4 100644\n--- a/fs/exfat/namei.c\n+++ b/fs/exfat/namei.c\n@@ -1323,4 +1323,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": [
        "v8",
        "04/17"
    ]
}