get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 845,
    "url": "http://patchwork.ozlabs.org/api/patches/845/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20080922195742t-sato@mail.jp.nec.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": "<20080922195742t-sato@mail.jp.nec.com>",
    "list_archive_url": null,
    "date": "2008-09-22T10:57:42",
    "name": "[7/10] jfs: Fix error handling in write_super_lockfs/unlockfs",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "858cd1d0ffff10eb9943f69e96862099df75a7d9",
    "submitter": {
        "id": 391,
        "url": "http://patchwork.ozlabs.org/api/people/391/?format=api",
        "name": "Takashi Sato",
        "email": "t-sato@yk.jp.nec.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20080922195742t-sato@mail.jp.nec.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/845/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/845/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-ext4-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id A3D52DDDD8\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 22 Sep 2008 20:58:02 +1000 (EST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752174AbYIVK6A (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 22 Sep 2008 06:58:00 -0400",
            "(majordomo@vger.kernel.org) by vger.kernel.org id S1752605AbYIVK6A\n\t(ORCPT <rfc822;linux-ext4-outgoing>);\n\tMon, 22 Sep 2008 06:58:00 -0400",
            "from TYO202.gate.nec.co.jp ([202.32.8.206]:49987 \"EHLO\n\ttyo202.gate.nec.co.jp\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752192AbYIVK57 (ORCPT\n\t<rfc822; linux-ext4@vger.kernel.org>); Mon, 22 Sep 2008 06:57:59 -0400",
            "from mailgate3.nec.co.jp ([10.7.69.161])\n\tby tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m8MAvid3007681;\n\tMon, 22 Sep 2008 19:57:44 +0900 (JST)",
            "(from root@localhost) by mailgate3.nec.co.jp\n\t(8.11.7/3.7W-MAILGATE-NEC)\n\tid m8MAvit05775; Mon, 22 Sep 2008 19:57:44 +0900 (JST)",
            "from saigo.jp.nec.com (saigo.jp.nec.com [10.26.220.6])\n\tby mailsv4.nec.co.jp (8.13.8/8.13.4) with ESMTP id m8MAvhQd026324;\n\tMon, 22 Sep 2008 19:57:44 +0900 (JST)",
            "from TNESB07336 ([10.64.168.65] [10.64.168.65]) by mail.jp.nec.com\n\twith ESMTP; Mon, 22 Sep 2008 19:57:43 +0900"
        ],
        "To": "Andrew Morton <akpm@linux-foundation.org>,\n\tChristoph Hellwig <hch@infradead.org>,\n\t\"linux-fsdevel@vger.kernel.org\" <linux-fsdevel@vger.kernel.org>,\n\t\"dm-devel@redhat.com\" <dm-devel@redhat.com>,\n\t\"viro@ZenIV.linux.org.uk\" <viro@ZenIV.linux.org.uk>,\n\t\"linux-ext4@vger.kernel.org\" <linux-ext4@vger.kernel.org>,\n\t\"xfs@oss.sgi.com\" <xfs@oss.sgi.com>, \"axboe@kernel.dk\" <axboe@kernel.dk>,\n\t\"mtk.manpages@googlemail.com\" <mtk.manpages@googlemail.com>",
        "Cc": "\"linux-kernel@vger.kernel.org\" <linux-kernel@vger.kernel.org>",
        "Subject": "[PATCH 7/10] jfs: Fix error handling in write_super_lockfs/unlockfs",
        "Message-Id": "<20080922195742t-sato@mail.jp.nec.com>",
        "Mime-Version": "1.0",
        "X-Mailer": "WeMail32[2.51] ID:1K0086",
        "From": "Takashi Sato <t-sato@yk.jp.nec.com>",
        "Date": "Mon, 22 Sep 2008 19:57:42 +0900",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linux-ext4-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-ext4.vger.kernel.org>",
        "X-Mailing-List": "linux-ext4@vger.kernel.org"
    },
    "content": "I've changed write_super_lockfs/unlockfs so that they always return\n0 (success) to keep a current behavior.\n\nSigned-off-by: Takashi Sato <t-sato@yk.jp.nec.com>\nSigned-off-by: Masayuki Hamaguchi <m-hamaguchi@ys.jp.nec.com>\n---\n super.c |    6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)\n\n--\nTo unsubscribe from this list: send the line \"unsubscribe linux-ext4\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html",
    "diff": "diff -uprN -X linux-2.6.27-rc7-lockfs-gfs2/Documentation/dontdiff linux-2.6.27-rc7-lockfs-gfs2/fs/jfs/super.c linux-2.6.\n27-rc7-lockfs-jfs/fs/jfs/super.c\n--- linux-2.6.27-rc7-lockfs-gfs2/fs/jfs/super.c\t2008-09-22 07:29:55.000000000 +0900\n+++ linux-2.6.27-rc7-lockfs-jfs/fs/jfs/super.c\t2008-09-22 11:02:34.000000000 +0900\n@@ -543,7 +543,7 @@ out_kfree:\n \treturn ret;\n }\n \n-static void jfs_write_super_lockfs(struct super_block *sb)\n+static int jfs_write_super_lockfs(struct super_block *sb)\n {\n \tstruct jfs_sb_info *sbi = JFS_SBI(sb);\n \tstruct jfs_log *log = sbi->log;\n@@ -553,9 +553,10 @@ static void jfs_write_super_lockfs(struc\n \t\tlmLogShutdown(log);\n \t\tupdateSuper(sb, FM_CLEAN);\n \t}\n+\treturn 0;\n }\n \n-static void jfs_unlockfs(struct super_block *sb)\n+static int jfs_unlockfs(struct super_block *sb)\n {\n \tstruct jfs_sb_info *sbi = JFS_SBI(sb);\n \tstruct jfs_log *log = sbi->log;\n@@ -568,6 +569,7 @@ static void jfs_unlockfs(struct super_bl\n \t\telse\n \t\t\ttxResume(sb);\n \t}\n+\treturn 0;\n }\n \n static int jfs_get_sb(struct file_system_type *fs_type,\n",
    "prefixes": [
        "7/10"
    ]
}