get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2189407,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2189407/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260127-origin-dev-v1-1-cafda25e307f@amlogic.com/",
    "project": {
        "id": 8,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260127-origin-dev-v1-1-cafda25e307f@amlogic.com>",
    "list_archive_url": null,
    "date": "2026-01-27T09:34:10",
    "name": "ext4: EXT4_I(sbi->s_buddy_cache)->i_state_flags is not initialized",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "9b54fb3087e1855b5fb70c881f8128cc185afc8f",
    "submitter": {
        "id": 92515,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/92515/?format=api",
        "name": "Jiucheng Xu via B4 Relay",
        "email": "devnull+jiucheng.xu.amlogic.com@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260127-origin-dev-v1-1-cafda25e307f@amlogic.com/mbox/",
    "series": [
        {
            "id": 489872,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/489872/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=489872",
            "date": "2026-01-27T09:34:10",
            "name": "ext4: EXT4_I(sbi->s_buddy_cache)->i_state_flags is not initialized",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/489872/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2189407/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2189407/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <SRS0=sLGR=AA=vger.kernel.org=linux-ext4+bounces-13350-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=WxTms2fz;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=150.107.74.76; helo=mail.ozlabs.org;\n envelope-from=srs0=slgr=aa=vger.kernel.org=linux-ext4+bounces-13350-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=\"2600:3c0a:e001:db::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=WxTms2fz;\n\tdkim-atps=neutral",
            "gandalf.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-ext4+bounces-13350-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=\"WxTms2fz\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f0gMG4hTKz1xsp\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 27 Jan 2026 20:38:34 +1100 (AEDT)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4f0gMG2dLxz4w2D\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 27 Jan 2026 20:38:34 +1100 (AEDT)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4f0gMG2Mg0z4w0H; Tue, 27 Jan 2026 20:38:34 +1100 (AEDT)",
            "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 gandalf.ozlabs.org (Postfix) with ESMTPS id 4f0gMB6hhTz4w2D\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 27 Jan 2026 20:38:30 +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 77ED5304E6C5\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 27 Jan 2026 09:34:14 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id F18182E041D;\n\tTue, 27 Jan 2026 09:34:12 +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 A54C31DDC35;\n\tTue, 27 Jan 2026 09:34:12 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPS id 88B87C116C6;\n\tTue, 27 Jan 2026 09:34:12 +0000 (UTC)",
            "from aws-us-west-2-korg-lkml-1.web.codeaurora.org\n (localhost.localdomain [127.0.0.1])\n\tby smtp.lore.kernel.org (Postfix) with ESMTP id 7D5BDD19515;\n\tTue, 27 Jan 2026 09:34:12 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1769506714; cv=pass;\n\tb=bEWWjf2yCQ37xa1qEjqqstPZ552VQxTIDeMGVYsuxwD1VmU+MS609niwq7aB8yafzfRPqpw/zbJB4g2cyLvseZ6cq2zcdM90j3xF+ncsUjdgg13iiY3QiPqJhk0M839odB+uTBfjo4cqk642mSs5I2+LX1eFZItKFJL+zo/eVXZ+5bap7QHZL+Wtk9P9qHMB1ZP7IvLB8GBg0NYZnRZQCuXOjPPIB0hkkjibP7SWBf66VZ03Z/e+i8jIk5wVfleM7Zy6Ccsd4BH11V0kbX0vTSSyMsovlOW3Fo1bJr+hCSq4xQGYe5WnAAIusPjGek1gPTAoeiTTlS49hmwO9D9Hjg==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1769506452; cv=none;\n b=c3Yhve3AE6yfpntUhh3F28iVm9erwvWLVRsIoNzdAZbYWz/FRMd6AgLxHi+i8CDjCh2qP6ctLZOhPSc/6Co2Om5ybQ0Q2jjZKQAx/skUuCKv74nCCSNKoubE4wDzDoXpPcaRvDw9DWtXJWrzIoNI+sYxak2BH0Fhd7NBcoKxIzg="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1769506714; c=relaxed/relaxed;\n\tbh=M5wPfhtZ5m2lj1qPh7CZnV9WRpGpJjJGq0d2Yi9Qvdg=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc;\n b=p+jY3DjNJwbz4sP4RF85sWk64x+P5YMsUGvW0NaE4f0YvmoyWdTH1+2X9G3wjbgo9Vj2SwBlQKXqN9UDNnYP3Wk9XstbJHD1+9+wb9AF498GjEWqpU0B4FhM3zMAi2h1JfPyKvcUtDl3JvqS7WmBqbG5t0uSNL3RhX3DW6jV/rlYtXkDzXjMtdRlCrj9hDTzNkA7eqWpGK/rZKv9mz6w0yBKwdxV2X0PQ9Vw6eov8RARQqn0lko5Y1sD9TuCeqnaWX0sb0aHcsa7/mQpPSfSO2/sNTx7pbg2iUgn/GsC7CNzTLGCQilwDpU7ZJjPavzptIU8V5A66q5i3B0tfMF50g==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1769506452; c=relaxed/simple;\n\tbh=L+QIuse+ozhQ0Fo/DWNk4BPyA1lKRir4oBdAXLHS+Hs=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc;\n b=nO+rVCgMbcYe3EzwDV9irRUOJE4hk7a8lOOOhm+1S6C4/IuQ/t2ifk+2HA9OsJCU7aoPUVk2nDpSAOmKrY/xGuZrXNFVFllFmijwi74/lwHZe9ZDkxN6aZCsusLxoWU/2CvguI+ZCiiwjVboftNVkSgve5hRdgwwhBF2D7yInP8="
        ],
        "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=WxTms2fz; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-13350-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=WxTms2fz; 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=1769506452;\n\tbh=L+QIuse+ozhQ0Fo/DWNk4BPyA1lKRir4oBdAXLHS+Hs=;\n\th=From:Date:Subject:To:Cc:Reply-To:From;\n\tb=WxTms2fzvAFF1S+pyQW2k6hIKzPkz5PkcOUIv6zVrHht4IVh8BEVz70JdQenuhx3i\n\t c1tJIX7aGh+aGYTAlrbjjCIK+CXpicfSFRui2erbcdngFpeTvyKQCE/Zlm5JIKHACj\n\t tIXuTiAXNGeuL3cMHnBQtnLXaRonRcRgEbgrbD5vRUJkjdp60IjS6xCNgE+IMvYiH0\n\t QY0wfkCxw6G+76bMNK8uKf5X5UI4M156jfVInVPjqt14PAymVpHWy0uLuEWNLM7WUb\n\t HCchBeq2Xzwd2PnM5R10ITQ8To/GlSEN7XvSEHYmR4uB8/XRuYokb49B0wkun1+Oqk\n\t qu8Ta1TTDcNaQ==",
        "From": "Jiucheng Xu via B4 Relay <devnull+jiucheng.xu.amlogic.com@kernel.org>",
        "Date": "Tue, 27 Jan 2026 17:34:10 +0800",
        "Subject": "[PATCH] ext4: EXT4_I(sbi->s_buddy_cache)->i_state_flags is not\n initialized",
        "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": "<20260127-origin-dev-v1-1-cafda25e307f@amlogic.com>",
        "X-B4-Tracking": "v=1; b=H4sIAJGGeGkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE\n vPSU3UzU4B8JSMDIzMDQyMz3fyizPTMPN2U1DJdyzQLE0Nj0yRLU1NTJaCGgqLUtMwKsGHRsbW\n 1AP5MSmpcAAAA",
        "X-Change-ID": "20260126-origin-dev-9f84135b9555",
        "To": "Theodore Ts'o <tytso@mit.edu>,\n Andreas Dilger <adilger.kernel@dilger.ca>",
        "Cc": "linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org,\n stable@vger.kernel.org, jianxin.pan@amlogic.com, tuan.zhang@amlogic.com,\n Jiucheng Xu <jiucheng.xu@amlogic.com>",
        "X-Mailer": "b4 0.14.2",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1769506451; l=1571;\n i=jiucheng.xu@amlogic.com; s=20250821; h=from:subject:message-id;\n bh=YWP7kPJlOX7OLc+FLI3fR6NkrBzeRbLZcst1TTgNbyA=;\n b=f0Hg3TtsLr4287r90uzc7VGPUI1SUs5bqUrBtUn0WdVP0MYcsg5XZQwNcCvU3XErB11/1f/8P\n cICYbUnQQV3AkdS2lTKlDEsb0lpCMgqXWLVd5Gxs1uM4b8id+zxkTWr",
        "X-Developer-Key": "i=jiucheng.xu@amlogic.com; a=ed25519;\n pk=Q18IjkdWCCuncSplyu+dYqIrm+n42glvoLFJTQqpb2o=",
        "X-Endpoint-Received": "by B4 Relay for jiucheng.xu@amlogic.com/20250821 with\n auth_id=498",
        "X-Original-From": "Jiucheng Xu <jiucheng.xu@amlogic.com>",
        "Reply-To": "jiucheng.xu@amlogic.com",
        "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: Jiucheng Xu <jiucheng.xu@amlogic.com>\n\nThe i_state_flags originates from an inode that was previously\ndestroyed and then allocated to s_buddy_cache; it requires\nreinitialization.\n\nThe relevant log during umount is shown below:\n\nEXT4-fs (mmcblk0p28): unmounting filesystem xxx-xxx\nEXT4-fs (mmcblk0p28): Inode 1 (39878178): inode tracked as orphan!\n39878178: 1411f3c7 e0182705 78cc454d ac11f000  .....'..ME.x....\nda10433b: 1a2e0146 792e03d0 9c2a04d1 0c788ad3  F......y..*...x.\na91573cf: 44270388 4f4202ea 721a12ea 340cbce0  ..'D..BO...r...4\n89cb2f37: 0d13f000 4f270414 1a0b01f0 4f880fe0  ......'O.......O\n810e3bc2: 3f0c02f0 482b0009 02e048d0 83f43f2a  ...?..+H.H..*?..\n3f37c9f7: 02880aaf 00000000 00000000 00000000  ................\n\nSigned-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>\n---\n fs/ext4/mballoc.c | 3 +++\n 1 file changed, 3 insertions(+)\n\n\n---\nbase-commit: 4f5e8e6f012349a107531b02eed5b5ace6181449\nchange-id: 20260126-origin-dev-9f84135b9555\n\nBest regards,",
    "diff": "diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c\nindex dbc82b65f810fed89da7fa7149d3a05de6f107d6..20b07b2bea31ea81ffbd0b4ace3a7b218c8f4dd5 100644\n--- a/fs/ext4/mballoc.c\n+++ b/fs/ext4/mballoc.c\n@@ -3521,6 +3521,9 @@ static int ext4_mb_init_backend(struct super_block *sb)\n \tsbi->s_buddy_cache->i_ino = EXT4_BAD_INO;\n \tEXT4_I(sbi->s_buddy_cache)->i_disksize = 0;\n \text4_set_inode_mapping_order(sbi->s_buddy_cache);\n+#if (BITS_PER_LONG < 64)\n+\text4_clear_state_flags(EXT4_I(sbi->s_buddy_cache));\n+#endif\n \n \tfor (i = 0; i < ngroups; i++) {\n \t\tcond_resched();\n",
    "prefixes": []
}