get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227006,
    "url": "http://patchwork.ozlabs.org/api/patches/2227006/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260422-case-sensitivity-v9-14-be023cc070e2@oracle.com/",
    "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": "<20260422-case-sensitivity-v9-14-be023cc070e2@oracle.com>",
    "list_archive_url": null,
    "date": "2026-04-22T23:30:08",
    "name": "[v9,14/17] isofs: Implement fileattr_get for case sensitivity",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "43748baeaa95ac3a834a431ab0eb30e4765ad8ef",
    "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/20260422-case-sensitivity-v9-14-be023cc070e2@oracle.com/mbox/",
    "series": [
        {
            "id": 501130,
            "url": "http://patchwork.ozlabs.org/api/series/501130/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=501130",
            "date": "2026-04-22T23:29:54",
            "name": "Exposing case folding behavior",
            "version": 9,
            "mbox": "http://patchwork.ozlabs.org/series/501130/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227006/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227006/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-11027-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=iRNQhzJY;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-11027-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=\"iRNQhzJY\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::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 legolas.ozlabs.org (Postfix) with ESMTPS id 4g1Fw872vcz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 09:35:52 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 8732530666B4\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 23:30:55 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 2FC5C3A4511;\n\tWed, 22 Apr 2026 23:30:51 +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 0953932C924;\n\tWed, 22 Apr 2026 23:30:50 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 7B3F4C19425;\n\tWed, 22 Apr 2026 23:30:48 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776900651; cv=none;\n b=Ajp6MyEWobgQGWW5DKv8tRf82SkDVBuLebv55wJeRrsK24kxoXl59c13i1ZU409NsAyr0X90/8d20Ev299uoqN1a7/mB7pL0SglNoSBhHFZaOD5qw5yKLPytBKpVmZc3xJQAxI13ByRT5nAH5Otz1F20qDTBLegaIUYzN22RiII=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776900651; c=relaxed/simple;\n\tbh=01dn7VPhZ7IaECyyXD1nCwqLHm0UbGEoyqWSLe5m9tM=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=Q9/jaf+QrYsLvWsHyZdqp/dfOyAsNXAERDJ/rnv1Aq4hDsk+kyyD6NhYyiQDAAL8dkKrklg4hQz/LN1bE2WGYaS9gD1DMWiTajyI6r2WWZvFpVtwDpRTKOpQIjxTaBBJ4cQISIRIzS9/JWAq+fbnajbmWAGXiv/yM0XWKoMVJZA=",
        "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=iRNQhzJY; 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=1776900650;\n\tbh=01dn7VPhZ7IaECyyXD1nCwqLHm0UbGEoyqWSLe5m9tM=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=iRNQhzJYPp4pw6bkhzG2kUISBPMGKc4r5mJxYotWGT5thxubI08DIk5qa70n7X0nY\n\t CYDqijAUz5SXcuIjTHS/w/olMp10tbWDVokPkI/h5WY6sSOdeTfVFcboNB+vfKVAym\n\t YxGHw6Alx3nlv0kxzSbcU4rCHOQ3nADshR94hgCa5jfYK8hRc0q8Ja9poCWP5pdMpS\n\t C4dSDm2n7dxqztAzBn7yRDS2HXwHfxLHIxZisqeRvVD8vgrtZ17cSubMtJoPWWP6E+\n\t fo3YKqNJbjvjW5UPFIpZEsevm9BIHx2PHGVF8MRP8XmtQ5EL8VQTP8ciJ7RKvX6+rT\n\t PXQWv8V7CXURg==",
        "From": "Chuck Lever <cel@kernel.org>",
        "Date": "Wed, 22 Apr 2026 19:30:08 -0400",
        "Subject": "[PATCH v9 14/17] isofs: 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": "<20260422-case-sensitivity-v9-14-be023cc070e2@oracle.com>",
        "References": "<20260422-case-sensitivity-v9-0-be023cc070e2@oracle.com>",
        "In-Reply-To": "<20260422-case-sensitivity-v9-0-be023cc070e2@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=2116;\n i=chuck.lever@oracle.com; h=from:subject:message-id;\n bh=kh4Mo9qHXj56Vn2bJA48n97L5gwCBfFYkAAOr9+sl3U=;\n b=owEBbQKS/ZANAwAKATNqszNvZn+XAcsmYgBp6VoGZQsJtBMnjFwQhTw/zhXJZoWoDCubwoAGM\n lTtdNYJPkOJAjMEAAEKAB0WIQQosuWwEobfJDzyPv4zarMzb2Z/lwUCaelaBgAKCRAzarMzb2Z/\n lxzWD/0bbswcNfCXfd/LYYdUB74Xza+PwZJwxaDAGntT1IS5sExaDkbfrHAXTmF1nkPwamWJkbO\n yl9Q0T592fxKKKziwcQvsXlvCcuqmSXq6XVE3rhiZdqde9rLCu48w0654vAQk0wyMtYlGE0Z/jU\n XWpIKL409vVghaZOhdSGZbYaFiEFhX7rKxVSOJ/6I4U3WP0akIFTxpDGURYrsU4HgDInaRjKRgq\n csMnwabRNaJhLZ8z5t62oFNX2DeInB4XJ0MvpZpJI0dvjGujXHnMremOVktTDPE798M00/+Mxmf\n cSfTNnT1Jhm0clTMM6Kcyax+oQOhHkWO2Ck1RbUpNzha03TLchUEIl9RpBgyktRfNsV1fwmWr8V\n apCOmV+A7w7GwTL0i5FEglWpJpuMDfrIHImr5j/Z+9tG1FRGMh8vbQjJNymcdE9OWdBGTJ6hbzS\n 4mysifqeP/8YprQhTzY4MFfF2Jh3seJHly1XIgVRUXjfn4Je0NB5NP6nBYql+cvQhy73sW4iTF4\n W7N8EM+w3ptzQJ8AnExQubTxWEw+DKgS5fT0tAs83RxqViFUo+Dj8v6e5ZL0eJVQvXIv6uEaUBr\n MtiNr1hGDgdGOQcuAZBEtAOPrHvLRuVq4tRQwB6lqNRiyPrRdpFAjX6U9v3PgpRubE4yiRfqDNd\n vcMxASGa88CRasA==",
        "X-Developer-Key": "i=chuck.lever@oracle.com; a=openpgp;\n fpr=28B2E5B01286DF243CF23EFE336AB3336F667F97"
    },
    "content": "From: Chuck Lever <chuck.lever@oracle.com>\n\nUpper layers such as NFSD need a way to query whether a\nfilesystem handles filenames in a case-sensitive manner so\nthey can provide correct semantics to remote clients. Without\nthis information, NFS exports of ISO 9660 filesystems cannot\nadvertise their filename case behavior.\n\nImplement isofs_fileattr_get() to report ISO 9660 case handling\nbehavior via the FS_XFLAG_CASEFOLD flag. The 'check=r' (relaxed)\nmount option enables case-insensitive lookups, and this setting\ndetermines the value reported. By default, Joliet extensions\noperate in relaxed mode while plain ISO 9660 uses strict\n(case-sensitive) mode. All ISO 9660 variants are case-preserving,\nmeaning filenames are stored exactly as they appear on the disc.\n\nThe callback is registered only on isofs_dir_inode_operations\nbecause isofs has no custom inode_operations for regular\nfiles, and symlinks use the generic page_symlink_inode_operations.\n\nReviewed-by: Jan Kara <jack@suse.cz>\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/isofs/dir.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/fs/isofs/dir.c b/fs/isofs/dir.c\nindex 2fd9948d606e..bca3de5a235d 100644\n--- a/fs/isofs/dir.c\n+++ b/fs/isofs/dir.c\n@@ -14,6 +14,7 @@\n #include <linux/gfp.h>\n #include <linux/filelock.h>\n #include \"isofs.h\"\n+#include <linux/fileattr.h>\n \n int isofs_name_translate(struct iso_directory_record *de, char *new, struct inode *inode)\n {\n@@ -267,6 +268,15 @@ static int isofs_readdir(struct file *file, struct dir_context *ctx)\n \treturn result;\n }\n \n+static int isofs_fileattr_get(struct dentry *dentry, struct file_kattr *fa)\n+{\n+\tstruct isofs_sb_info *sbi = ISOFS_SB(dentry->d_sb);\n+\n+\tif (sbi->s_check == 'r')\n+\t\tfa->fsx_xflags |= FS_XFLAG_CASEFOLD;\n+\treturn 0;\n+}\n+\n const struct file_operations isofs_dir_operations =\n {\n \t.llseek = generic_file_llseek,\n@@ -281,6 +291,7 @@ const struct file_operations isofs_dir_operations =\n const struct inode_operations isofs_dir_inode_operations =\n {\n \t.lookup = isofs_lookup,\n+\t.fileattr_get = isofs_fileattr_get,\n };\n \n \n",
    "prefixes": [
        "v9",
        "14/17"
    ]
}