get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227318,
    "url": "http://patchwork.ozlabs.org/api/patches/2227318/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260423-case-sensitivity-v10-9-c385d674a6cf@oracle.com/",
    "project": {
        "id": 8,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260423-case-sensitivity-v10-9-c385d674a6cf@oracle.com>",
    "list_archive_url": null,
    "date": "2026-04-23T13:12:12",
    "name": "[v10,09/17] xfs: Report case sensitivity in fileattr_get",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "33bce20e8b9debb29db805b4e8c909008a23fc52",
    "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-ext4/patch/20260423-case-sensitivity-v10-9-c385d674a6cf@oracle.com/mbox/",
    "series": [
        {
            "id": 501194,
            "url": "http://patchwork.ozlabs.org/api/series/501194/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=501194",
            "date": "2026-04-23T13:12:04",
            "name": "Exposing case folding behavior",
            "version": 10,
            "mbox": "http://patchwork.ozlabs.org/series/501194/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227318/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227318/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <SRS0=QeNH=CW=vger.kernel.org=linux-ext4+bounces-16058-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=b5gScez2;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org;\n envelope-from=srs0=qenh=cw=vger.kernel.org=linux-ext4+bounces-16058-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=b5gScez2;\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-16058-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=\"b5gScez2\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\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 4g1c7t21j0z1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 23:17:14 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4g1c7t1Sy4z4wLm\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 23:17:14 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4g1c7t1Ft4z4wSG; Thu, 23 Apr 2026 23:17:14 +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 4g1c7l16Hqz4wLm\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 23 Apr 2026 23:17:07 +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 778FD302AB77\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 23 Apr 2026 13:13:12 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 5870F3F0779;\n\tThu, 23 Apr 2026 13:12:45 +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 17B743BE64B;\n\tThu, 23 Apr 2026 13:12:44 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 87020C2BCAF;\n\tThu, 23 Apr 2026 13:12:42 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1776950234; cv=pass;\n\tb=fScVOILk0EsQboQWtN/b+Fxf24H5ETmFYNBTWZgwk+oLUgUXvVGb+L+mwiPVordMKAmmjEU4jzsK9TY4OpchBtqdoXr1diYt9bgckP7lnS8wPXho5qTUEMkJ3RFhSCWCxk0JOf8NJ+YdzJMxFh5m57db8ntM8Y9yIu+MMuwR88Zo3vLObaOTN8iz5CCWsiDK2hVqjj/5zYQWhfr82azQeyr3FlD3VZzsRcqeTCGDPRO1TtFqCew296NMKEbrnWTK0jneEI6ZXOSGIVXZ/e9I32DRQ1oKMEh3eQY9hSamLQ1L1JKqV4MHzkqzbnNCUI7O8qELo9IjQ+5gC6JkT2dePA==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776949965; cv=none;\n b=QBt22csGPtPxdIHMlybHU0ehmnp98yUTsiYxnqBlovq2a9l3xJUQx59ppzGuVA8Lwr/qj4H1C7MFhaDY+k3B0WgOIGjaBxHXjjuI05zhxNmToO9e56NHvfWog73ROeHP/kFaPuIWSrLO0HnyTz4s9wbSuN15IDySMem4B19kyKw="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1776950234; c=relaxed/relaxed;\n\tbh=MIBc7SY/aayk3KV59ElfMlB5cZR+zErVtDKAUR8Qwg0=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=vx24Ekm2LjC+vFxGcx5o/Is/mTNuxsJujss7ZJu3R2kSx386I4FhG7n3vuUdH4Z7NRl0qPzjsjKgIQR+tWdbkcDK5B/g5ffWJvDQzHwt140QjstZ7xcYIVQklOLidAPMfK+bAjBSIax1k6PLpMAh9YEUez3Z+467Eo2hTv+AIQZ9LjCQV2YIROXOS2ZjFjwds6Gnw8HOJdReBuMG5JTjQqb9agT/VpHEXdc1nlIhbys/5xdN8e0F02WMVePuYs11p1q/UAOQ+77sU4154T8cR9aMDgy+uj+vbAJNyS/62Xuvu4DH1ka3RI2snZAsao3IFnhm7QMfKSMegJEGadtTdw==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776949965; c=relaxed/simple;\n\tbh=Q/Z3eU7E7G5VuhyXLGLHVQn/X3HZutM3gSylfnZVEPg=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=KfsgS7G4OwN7fRA8HPnyHPfrLH40ko016tT/tB7V9I577X36aHbbhpZ+g7DlPn+bmV7YEY394naLFWzLRy/hM5ik7hmhjGs17XpVBcCK8eic1BNwKIIfOiU2YWyb8xKmFiXiK+Ib+HUNFJS7dd3aKaPrO9LQm4ty5P3dOEgs6rk="
        ],
        "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=b5gScez2; 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-16058-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=b5gScez2; 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=1776949964;\n\tbh=Q/Z3eU7E7G5VuhyXLGLHVQn/X3HZutM3gSylfnZVEPg=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=b5gScez2YED5kR4UfP7ePXzzEJBb5rUkzl2kaWZ8I3PLFUgBLAbDFoL6fUBrKhQsb\n\t vY7VDji9bHDReQ5D8SfrPb4vl99b0Oo3UsSGYWGGc6n9UsMvzFdSxZSJDss0CoTzxm\n\t oltz16gygeIH57IBkctp753tNu/+G9aCXfA4LYLnB+fzWUhEYju83IJ+sXU8smvzdP\n\t o+gArT4pCLP3Z68PxSt9h0Z8PImmccL9/D2lM0DQUcfIGgWnhyzpGjghvJmtKcZ2CS\n\t 2Li5JyuynrqBOkmQMrKRlm0LlfT8IpYZyQRNIRA2/V8vsfwlaqqrWEO3GQQBydWlvP\n\t pDCsYsSZbsNbw==",
        "From": "Chuck Lever <cel@kernel.org>",
        "Date": "Thu, 23 Apr 2026 09:12:12 -0400",
        "Subject": "[PATCH v10 09/17] xfs: Report case sensitivity in fileattr_get",
        "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": "<20260423-case-sensitivity-v10-9-c385d674a6cf@oracle.com>",
        "References": "<20260423-case-sensitivity-v10-0-c385d674a6cf@oracle.com>",
        "In-Reply-To": "<20260423-case-sensitivity-v10-0-c385d674a6cf@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=1165;\n i=chuck.lever@oracle.com; h=from:subject:message-id;\n bh=f8bPTEa6xHOGMJ4BkwBw/MA1JRSPvJxuTKAc3AxqaEI=;\n b=owEBbQKS/ZANAwAKATNqszNvZn+XAcsmYgBp6hq080HBIoQoVwdco58yDR8YVIdkIx/l7nWCL\n p17rvkKMhqJAjMEAAEKAB0WIQQosuWwEobfJDzyPv4zarMzb2Z/lwUCaeoatAAKCRAzarMzb2Z/\n ly/ED/9AmddXjVCN3aojVl3dq7vYD4dHLpYLDtV64JoEYigKfl8rORJ11NTU+gqKE1e24B60uJk\n pdFiokvjs9qrW2JRbQFgIwW6hTV815teXb8jU9fS7kXCDGUBNNqBMi1AURxGS0+cKMvJOsG7wvl\n yputvf+P5kAEyAepPLwNZDeQ3ZsFw0aB/O7Wo43QmTRdbwp5K86ykLPGRxjf5QHuw2z9nn4q9XZ\n EvfnjgtzDe+CRaFbZFrJD1YflFdVfMzmJ8y8OhJ3VPs7+SCXwRGJqQ4t7WOPHwHRUxId1+yvGLf\n jlpNGlpLScKmAZy0wex1OROguQuASjnDTEND3+Rnxm7dmTYA08JqC8C9yRPit0M62pGj9Y9V162\n sSMrVUnmNayFOLfJuFGyYOD1C8vpsqsOVB6H47ikng+DKH85GPzl26ob1o/KebclsssdTPgwdzq\n +yVZixdIvTd7o/xyqgFffTVmBgYCW6aG0Wx7eB5CQMmPAcy+0BrbsuRaTuWhzqAVS8OgqfF7X8N\n ZVh4zYhE3s/YMsVzb78E+fwRyV7Gs+2vW5BtzPVat9FZxYtahS7k+5fIlWewHB0u/Ps+LzSnUJT\n Hch9406DJ+hMcAznh9G3hlsmcRQPA7MlqUf7my4whGQPZvztR/OETamaDE6BzniYdfmQ2AAjG9L\n zRv4taVhhDcNCMQ==",
        "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\nUpper layers such as NFSD need to query whether a filesystem\nis case-sensitive. Add FS_XFLAG_CASEFOLD to xfs_ip2xflags()\nwhen the filesystem is formatted with the ASCIICI feature\nflag. This serves both FS_IOC_FSGETXATTR (via xfs_fill_fsxattr() in\nxfs_fileattr_get()) and XFS_IOC_BULKSTAT (which populates bs_xflags\ndirectly from xfs_ip2xflags()), so bulkstat consumers and per-inode\nqueries see a consistent view of the filesystem's case-folding\nbehavior.\n\nXFS always preserves case. XFS is case-sensitive by default, but\nsupports ASCII case-insensitive lookups when formatted with the\nASCIICI feature flag.\n\nSigned-off-by: Chuck Lever <chuck.lever@oracle.com>\n---\n fs/xfs/libxfs/xfs_inode_util.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/fs/xfs/libxfs/xfs_inode_util.c b/fs/xfs/libxfs/xfs_inode_util.c\nindex 551fa51befb6..82be54b6f8d3 100644\n--- a/fs/xfs/libxfs/xfs_inode_util.c\n+++ b/fs/xfs/libxfs/xfs_inode_util.c\n@@ -130,6 +130,8 @@ xfs_ip2xflags(\n \n \tif (xfs_inode_has_attr_fork(ip))\n \t\tflags |= FS_XFLAG_HASATTR;\n+\tif (xfs_has_asciici(ip->i_mount))\n+\t\tflags |= FS_XFLAG_CASEFOLD;\n \treturn flags;\n }\n \n",
    "prefixes": [
        "v10",
        "09/17"
    ]
}