get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2214718,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2214718/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260323110735.55473-1-disgoel@linux.ibm.com/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260323110735.55473-1-disgoel@linux.ibm.com>",
    "list_archive_url": null,
    "date": "2026-03-23T11:07:35",
    "name": "[v2] syscalls/ustat: Skip tests on Btrfs using .skip_filesystems",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b5b7467ff940939c1a1566eb51d97730859bfcc6",
    "submitter": {
        "id": 84875,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/84875/?format=api",
        "name": "Disha Goel",
        "email": "disgoel@linux.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260323110735.55473-1-disgoel@linux.ibm.com/mbox/",
    "series": [
        {
            "id": 497091,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/497091/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=497091",
            "date": "2026-03-23T11:07:35",
            "name": "[v2] syscalls/ustat: Skip tests on Btrfs using .skip_filesystems",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/497091/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2214718/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2214718/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=hNMmEUxv;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [213.254.12.146])\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 4ffVlF68Lyz1xyt\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 23 Mar 2026 22:08:09 +1100 (AEDT)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 6B03C3E270E\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 23 Mar 2026 12:08:07 +0100 (CET)",
            "from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::3])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id E1BB53C2756\n for <ltp@lists.linux.it>; Mon, 23 Mar 2026 12:08:03 +0100 (CET)",
            "from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n [148.163.158.5])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-3.smtp.seeweb.it (Postfix) with ESMTPS id 1231C1A00A3F\n for <ltp@lists.linux.it>; Mon, 23 Mar 2026 12:08:02 +0100 (CET)",
            "from pps.filterd (m0360072.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 62MJOLWG196681; Mon, 23 Mar 2026 11:08:00 GMT",
            "from ppma13.dal12v.mail.ibm.com\n (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4d1kume888-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Mon, 23 Mar 2026 11:08:00 +0000 (GMT)",
            "from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1])\n by ppma13.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 62N8FUZ8012203;\n Mon, 23 Mar 2026 11:07:59 GMT",
            "from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225])\n by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4d27vjvvqj-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Mon, 23 Mar 2026 11:07:59 +0000",
            "from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com\n [10.20.54.104])\n by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 62NB7tww46334300\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Mon, 23 Mar 2026 11:07:55 GMT",
            "from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 519EB20043;\n Mon, 23 Mar 2026 11:07:55 +0000 (GMT)",
            "from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 725892004D;\n Mon, 23 Mar 2026 11:07:54 +0000 (GMT)",
            "from localhost.localdomain (unknown [9.124.219.186])\n by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP;\n Mon, 23 Mar 2026 11:07:54 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n :content-transfer-encoding:date:from:message-id:mime-version\n :subject:to; s=pp1; bh=bv/IMQ8bf6yewO4zXsualszydaMISMjJQBrVgXHEW\n KM=; b=hNMmEUxvRFtxZ1Z6RTKuk7r9CtC4tkeh5NPHN9LVTtcEmOSW15ns220pG\n TEJ3FInC4lsxf6It3KiLFECPgUpy+YQTXYgsT1IVnvNDJoBU/6S60Gl/Tax1XqM7\n ITJGF0TqmCqXLdEY69wEE6Mn8LvJ5rqt/kb+Rca1nn9yp3JWCHxTOcyT9zAIJv31\n X1NWkoV1hVip5M8VYm97C+E1zsP9Gnhym2hJwYv2l0aqEB3yewwIARj+HHxSPX9K\n nxUTFvMrtHNEPXRldw+8NxXq9uOZkr+38t8brspjhvnaEpq1ZB2QRqSdRCCMX2dt\n p1OMUuQf7umQx1ylj59S59AvOrOHg==",
        "From": "Disha Goel <disgoel@linux.ibm.com>",
        "To": "ltp@lists.linux.it",
        "Date": "Mon, 23 Mar 2026 16:37:35 +0530",
        "Message-ID": "<20260323110735.55473-1-disgoel@linux.ibm.com>",
        "X-Mailer": "git-send-email 2.45.1",
        "MIME-Version": "1.0",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-GUID": "RBVeKNT0o8gQBiemjubE7L_9HxpCezSL",
        "X-Proofpoint-ORIG-GUID": "RBVeKNT0o8gQBiemjubE7L_9HxpCezSL",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMzIzMDA4MyBTYWx0ZWRfX1KHzXtuJaQDY\n 6JAthPxfj7sc9LeP+IWqzHxn2bj4Uy9nLetSyPWYk2f2ckjAbS0D3FcmeVOPOXYqtiLJ4m7K7Tz\n /LLJdCy9oXFJocPCd3v3jvjQLZVbtxgKmI+j4QuThN52LMPlifhMuSdAJ4yKf1ePgLEIJV36LCR\n qm5Hc8A8509xcsJFttBouQEEBPjcK+PYaApq++ifnrMXdtJ412OHDZzSHm663cD4LHtAUbSD8cH\n Q3oMmunk1CM4W3MdyBXodHhdW883M7CeS8sq+St6Bpbo4eWomzpW45YUlC+Vab4Y+Cckf2qSVru\n 8Mr6UQ77zO7imHk4kbl94qIO58jgDbzcQJ1uzrEd70M0INLihCZvKY9NMZ1PM8UsSLWNAwuer3S\n SICtQlYSTNzTBkuVNzFKXLznw5koQhzaTBWJh44rRGElXASZjUc9iQcsQyMVuKT3DQnKiXaxRB9\n PiCuvmNtNynxFzqGGPA==",
        "X-Authority-Analysis": "v=2.4 cv=KbXfcAYD c=1 sm=1 tr=0 ts=69c11f10 cx=c_pps\n a=AfN7/Ok6k8XGzOShvHwTGQ==:117 a=AfN7/Ok6k8XGzOShvHwTGQ==:17\n a=Yq5XynenixoA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=RzCfie-kr_QcCd8fBx8p:22 a=VwQbUJbxAAAA:8 a=VnNF1IyMAAAA:8 a=maIFttP_AAAA:8\n a=OmYUYOihiO5dP9xC5AEA:9 a=qR24C9TJY6iBuJVj_x8Y:22",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-03-23_03,2026-03-20_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n suspectscore=0 impostorscore=0 malwarescore=0 adultscore=0 clxscore=1015\n priorityscore=1501 bulkscore=0 lowpriorityscore=0 phishscore=0 spamscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603230083",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-3.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-3.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH v2] syscalls/ustat: Skip tests on Btrfs using\n .skip_filesystems",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "Cc": "disgoel@linux.ibm.com",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "The ustat(2) system call is known to fail with EINVAL on Btrfs because\nit uses anonymous device IDs for subvolumes, which this legacy syscall\ncannot resolve to a physical block device.\n\nCurrently, this results in a TFAIL, which causes false negatives in\nautomated CI environments (e.g., SLES). This patch utilizes the LTP\nlibrary's .skip_filesystems mechanism to gracefully skip the tests\n(TCONF) when executed on Btrfs.\n\nSigned-off-by: Disha Goel <disgoel@linux.ibm.com>\n---\nChangelog v1 -> v2:\n- Removed manual statfs/tst_brk logic in setup().\n- Implemented .skip_filesystems in the tst_test structure for both\n  ustat01 and ustat02.\n\nLink to v1:\nhttps://lore.kernel.org/all/20260318082438.50245-1-disgoel@linux.ibm.com/\n---\n testcases/kernel/syscalls/ustat/ustat01.c | 4 ++++\n testcases/kernel/syscalls/ustat/ustat02.c | 4 ++++\n 2 files changed, 8 insertions(+)",
    "diff": "diff --git a/testcases/kernel/syscalls/ustat/ustat01.c b/testcases/kernel/syscalls/ustat/ustat01.c\nindex 161006058..55095191b 100644\n--- a/testcases/kernel/syscalls/ustat/ustat01.c\n+++ b/testcases/kernel/syscalls/ustat/ustat01.c\n@@ -44,6 +44,10 @@ static void setup(void)\n static struct tst_test test = {\n \t.test_all = run,\n \t.setup = setup,\n+\t.skip_filesystems = (const char *const[]) {\n+                \"btrfs\",\n+                NULL\n+        },\n \t.tags = (const struct tst_tag[]) {\n \t\t{\"known-fail\", \"ustat() is known to fail with EINVAL on Btrfs, see \"\n \t\t\t\"https://lore.kernel.org/linux-btrfs/e7e867b8-b57a-7eb2-2432-1627bd3a88fb@toxicpanda.com/\"\ndiff --git a/testcases/kernel/syscalls/ustat/ustat02.c b/testcases/kernel/syscalls/ustat/ustat02.c\nindex 84becaa1f..82dcfb6b4 100644\n--- a/testcases/kernel/syscalls/ustat/ustat02.c\n+++ b/testcases/kernel/syscalls/ustat/ustat02.c\n@@ -61,6 +61,10 @@ static struct tst_test test = {\n \t.test = run,\n \t.setup = setup,\n \t.tcnt = ARRAY_SIZE(tc),\n+\t.skip_filesystems = (const char *const[]) {\n+                \"btrfs\",\n+                NULL\n+        },\n \t.tags = (const struct tst_tag[]) {\n \t\t{\"known-fail\", \"ustat() is known to fail with EINVAL on Btrfs, see \"\n \t\t\t\"https://lore.kernel.org/linux-btrfs/e7e867b8-b57a-7eb2-2432-1627bd3a88fb@toxicpanda.com/\"\n",
    "prefixes": [
        "v2"
    ]
}