Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/851/?format=api
{ "id": 851, "url": "http://patchwork.ozlabs.org/api/patches/851/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20080922195701t-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": "<20080922195701t-sato@mail.jp.nec.com>", "list_archive_url": null, "date": "2008-09-22T10:57:01", "name": "[5/10] reiserfs: Fix error handling in write_super_lockfs/unlockfs", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "8e16ce8a2deb7fe058d90650ac372d7b09ba91da", "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/20080922195701t-sato@mail.jp.nec.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/851/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/851/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 5F835DDEF2\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 22 Sep 2008 20:59:18 +1000 (EST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753749AbYIVK6e (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 22 Sep 2008 06:58:34 -0400", "(majordomo@vger.kernel.org) by vger.kernel.org id S1753761AbYIVK6d\n\t(ORCPT <rfc822;linux-ext4-outgoing>);\n\tMon, 22 Sep 2008 06:58:33 -0400", "from TYO202.gate.nec.co.jp ([202.32.8.206]:50116 \"EHLO\n\ttyo202.gate.nec.co.jp\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753544AbYIVK6M (ORCPT\n\t<rfc822; linux-ext4@vger.kernel.org>); Mon, 22 Sep 2008 06:58:12 -0400", "from mailgate3.nec.co.jp ([10.7.69.162])\n\tby tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m8MAv20U006957;\n\tMon, 22 Sep 2008 19:57:02 +0900 (JST)", "(from root@localhost) by mailgate3.nec.co.jp\n\t(8.11.7/3.7W-MAILGATE-NEC)\n\tid m8MAv2p15127; Mon, 22 Sep 2008 19:57:02 +0900 (JST)", "from shoin.jp.nec.com (shoin.jp.nec.com [10.26.220.3])\n\tby mailsv4.nec.co.jp (8.13.8/8.13.4) with ESMTP id m8MAv28X025950;\n\tMon, 22 Sep 2008 19:57:02 +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:01 +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 5/10] reiserfs: Fix error handling in\n\twrite_super_lockfs/unlockfs", "Message-Id": "<20080922195701t-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:01 +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-jfs/Documentation/dontdiff linux-2.6.27-rc7-lockfs-jfs/fs/reiserfs/super.c linux-2\n.6.27-rc7-lockfs-reiserfs/fs/reiserfs/super.c\n--- linux-2.6.27-rc7-lockfs-jfs/fs/reiserfs/super.c\t2008-09-22 07:29:55.000000000 +0900\n+++ linux-2.6.27-rc7-lockfs-reiserfs/fs/reiserfs/super.c\t2008-09-22 11:08:04.000000000 +0900\n@@ -83,7 +83,7 @@ static void reiserfs_write_super(struct \n \treiserfs_sync_fs(s, 1);\n }\n \n-static void reiserfs_write_super_lockfs(struct super_block *s)\n+static int reiserfs_write_super_lockfs(struct super_block *s)\n {\n \tstruct reiserfs_transaction_handle th;\n \treiserfs_write_lock(s);\n@@ -101,11 +101,13 @@ static void reiserfs_write_super_lockfs(\n \t}\n \ts->s_dirt = 0;\n \treiserfs_write_unlock(s);\n+\treturn 0;\n }\n \n-static void reiserfs_unlockfs(struct super_block *s)\n+static int reiserfs_unlockfs(struct super_block *s)\n {\n \treiserfs_allow_writes(s);\n+\treturn 0;\n }\n \n extern const struct in_core_key MAX_IN_CORE_KEY;\n", "prefixes": [ "5/10" ] }