get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197412,
    "url": "http://patchwork.ozlabs.org/api/patches/2197412/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260217214741.1928576-6-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-6-cel@kernel.org>",
    "list_archive_url": null,
    "date": "2026-02-17T21:47:29",
    "name": "[v8,05/17] ntfs3: Implement fileattr_get for case sensitivity",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "e39c0dffaae7c3ef49ad564ef3beaa778d65b37b",
    "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-6-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/2197412/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197412/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-9420-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=blOMhAAp;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-cifs+bounces-9420-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=\"blOMhAAp\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFtYN4ZKmz1xvq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 08:48:08 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id EA039301A2C4\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 21:48:00 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 5419C2FA0D3;\n\tTue, 17 Feb 2026 21:47:59 +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 2CFE22F9DBB;\n\tTue, 17 Feb 2026 21:47:58 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 8C819C19421;\n\tTue, 17 Feb 2026 21:47:56 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771364879; cv=none;\n b=K3EUZTj+MWPXZwj1FqYFyT2LpfSuihTZ6mbEbZsHXpSTi7jWw6e/TJCw3eWV/JMTWDXKTK0OWtcYEiTC/0EDWy3dhAE1TI8Z54rQ6Ecwii1/I7yLbWtCyB7EGcdk/rX/l6+ebbykhTSGCqOM3t2+O56rhk4f1BaPlxrInGrJnxw=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771364879; c=relaxed/simple;\n\tbh=g2zNP06HIJDReqIgTUOs61C5Q25PHpY0V1DfgCIwllc=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=ZTMJyUx+pHYmJT5MivzvUCZpeySEnVYtoQNQOYL9tZTpXl67xWtY6QIMQ+C7b0Z9L0ByxyJbXJsOfAs4xWP/GuSYLiCbv9lMHlDlD1UWfULutzn9opbql8A1UsaUeVyaVUiWOrihIJlSBbc+/05C38xsGWaBEHykj43HFn43/Q0=",
        "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=blOMhAAp; 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=1771364878;\n\tbh=g2zNP06HIJDReqIgTUOs61C5Q25PHpY0V1DfgCIwllc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=blOMhAApRvDDlGT+5A7RSfOn/DctNA3L0RJud43KFpIxkiW0E+F75Ar9RHjwCcxZz\n\t HJnugTL2TGASJDybkbXDX55n5BPH4U+V6PWfAJ+nvZBob5xapaxUlKBn8UrgYPyfi+\n\t NjQUrT/oFYt7aT31QB+fAoAHSEf1NFag2SlVfq8uC6TmJNKwPH/bSrKiIaEogGcg8n\n\t fTsxqC7Fiu8kB1pRi+GKj81bRaem2W28JkmmS88MPONZk+xDB0fus2dbg9ZNdsu8VX\n\t OhZGYBBF5ajsxSfRYSlnTyKobR7z6vl+oFrUz+0sFfUN0ZJrskJqlOYfjUwztpxl7f\n\t YX5Cn6JTpAzsQ==",
        "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 05/17] ntfs3: Implement fileattr_get for case sensitivity",
        "Date": "Tue, 17 Feb 2026 16:47:29 -0500",
        "Message-ID": "<20260217214741.1928576-6-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 NTFS case sensitivity behavior via the FS_XFLAG_CASEFOLD\nflag. NTFS always preserves case at rest.\n\nCase sensitivity depends on mount options: with \"nocase\", NTFS\nis case-insensitive; otherwise it is case-sensitive.\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 6cb4479072a6..bf7e950ccdb8 100644\n--- a/fs/ntfs3/file.c\n+++ b/fs/ntfs3/file.c\n@@ -147,6 +147,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 && 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@@ -1461,6 +1483,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 edfb973e4e82..a6d1489cc362 100644\n--- a/fs/ntfs3/inode.c\n+++ b/fs/ntfs3/inode.c\n@@ -2088,6 +2088,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 f18349689458..94a23464c51f 100644\n--- a/fs/ntfs3/ntfs_fs.h\n+++ b/fs/ntfs3/ntfs_fs.h\n@@ -505,6 +505,7 @@ extern const struct file_operations ntfs_dir_operations;\n extern const struct file_operations ntfs_legacy_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": [
        "v8",
        "05/17"
    ]
}