Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/808424/?format=api
{ "id": 808424, "url": "http://patchwork.ozlabs.org/api/patches/808424/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20170831204918.GA7404@magnolia/", "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": "<20170831204918.GA7404@magnolia>", "list_archive_url": null, "date": "2017-08-31T20:49:18", "name": "fsmap: fix documentation of FMR_OF_LAST", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "65a7259151964e359f5bd2de74eca7cd3491d7ee", "submitter": { "id": 18086, "url": "http://patchwork.ozlabs.org/api/people/18086/?format=api", "name": "Darrick Wong", "email": "darrick.wong@oracle.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20170831204918.GA7404@magnolia/mbox/", "series": [ { "id": 905, "url": "http://patchwork.ozlabs.org/api/series/905/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=905", "date": "2017-08-31T20:49:18", "name": "fsmap: fix documentation of FMR_OF_LAST", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/905/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808424/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808424/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", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-ext4-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjvcq2BK5z9t1t\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 1 Sep 2017 06:49:31 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751242AbdHaUtZ (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 31 Aug 2017 16:49:25 -0400", "from userp1040.oracle.com ([156.151.31.81]:20484 \"EHLO\n\tuserp1040.oracle.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1750908AbdHaUtY (ORCPT\n\t<rfc822; linux-ext4@vger.kernel.org>); Thu, 31 Aug 2017 16:49:24 -0400", "from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])\n\tby userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2)\n\twith ESMTP id v7VKnNRN030885\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Thu, 31 Aug 2017 20:49:23 GMT", "from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])\n\tby aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v7VKnMUZ008663\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Thu, 31 Aug 2017 20:49:23 GMT", "from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])\n\tby userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tv7VKnLuR027483; Thu, 31 Aug 2017 20:49:22 GMT", "from localhost (/10.145.179.124)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Thu, 31 Aug 2017 13:49:21 -0700" ], "Date": "Thu, 31 Aug 2017 13:49:18 -0700", "From": "\"Darrick J. Wong\" <darrick.wong@oracle.com>", "To": "xfs <linux-xfs@vger.kernel.org>", "Cc": "linux-api@vger.kernel.org, linux-fsdevel <linux-fsdevel@vger.kernel.org>,\n\tlinux-ext4 <linux-ext4@vger.kernel.org>", "Subject": "[PATCH] fsmap: fix documentation of FMR_OF_LAST", "Message-ID": "<20170831204918.GA7404@magnolia>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "User-Agent": "Mutt/1.5.24 (2015-08-30)", "X-Source-IP": "aserv0021.oracle.com [141.146.126.233]", "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": "The FMR_OF_LAST flag is set on the last fsmap record being returned for\nthe dataset requested, contrary to what the header file says. Fix the\ndocs to reflect the behavior of all fsmap implementations.\n\nSigned-off-by: Darrick J. Wong <darrick.wong@oracle.com>\n---\n include/uapi/linux/fsmap.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/include/uapi/linux/fsmap.h b/include/uapi/linux/fsmap.h\nindex 7e8e5f0b..e5213c3 100644\n--- a/include/uapi/linux/fsmap.h\n+++ b/include/uapi/linux/fsmap.h\n@@ -96,7 +96,7 @@ fsmap_advance(\n #define FMR_OF_EXTENT_MAP\t0x4\t/* segment = extent map */\n #define FMR_OF_SHARED\t\t0x8\t/* segment = shared with another file */\n #define FMR_OF_SPECIAL_OWNER\t0x10\t/* owner is a special value */\n-#define FMR_OF_LAST\t\t0x20\t/* segment is the last in the FS */\n+#define FMR_OF_LAST\t\t0x20\t/* segment is the last in the dataset */\n \n /* Each FS gets to define its own special owner codes. */\n #define FMR_OWNER(type, code)\t(((__u64)type << 32) | \\\n", "prefixes": [] }