Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/852/?format=api
{ "id": 852, "url": "http://patchwork.ozlabs.org/api/patches/852/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20080922195819t-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": "<20080922195819t-sato@mail.jp.nec.com>", "list_archive_url": null, "date": "2008-09-22T10:58:18", "name": "[9/10] Remove XFS specific ioctl interfaces for freeze feature", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "3721a2ced462d89fe1a03dc26b5e5d3eb7c54de4", "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/20080922195819t-sato@mail.jp.nec.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/852/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/852/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 A956FDDEF2\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 22 Sep 2008 20:59:19 +1000 (EST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753783AbYIVK6h (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 22 Sep 2008 06:58:37 -0400", "(majordomo@vger.kernel.org) by vger.kernel.org id S1753781AbYIVK6h\n\t(ORCPT <rfc822;linux-ext4-outgoing>);\n\tMon, 22 Sep 2008 06:58:37 -0400", "from TYO201.gate.nec.co.jp ([202.32.8.193]:37724 \"EHLO\n\ttyo201.gate.nec.co.jp\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753754AbYIVK6c (ORCPT\n\t<rfc822; linux-ext4@vger.kernel.org>); Mon, 22 Sep 2008 06:58:32 -0400", "from mailgate3.nec.co.jp ([10.7.69.161])\n\tby tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m8MAwKGe001854;\n\tMon, 22 Sep 2008 19:58:20 +0900 (JST)", "(from root@localhost) by mailgate3.nec.co.jp\n\t(8.11.7/3.7W-MAILGATE-NEC)\n\tid m8MAwKj06813; Mon, 22 Sep 2008 19:58:20 +0900 (JST)", "from saigo.jp.nec.com (saigo.jp.nec.com [10.26.220.6])\n\tby mailsv.nec.co.jp (8.13.8/8.13.4) with ESMTP id m8MAwJUo011750;\n\tMon, 22 Sep 2008 19:58:19 +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:58:19 +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 9/10] Remove XFS specific ioctl interfaces for freeze feature", "Message-Id": "<20080922195819t-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:58:18 +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": "It removes XFS specific ioctl interfaces and request codes\nfor freeze feature.\nThis patch has been supplied by David Chinner.\n\nSigned-off-by: Dave Chinner <dgc@sgi.com>\nSigned-off-by: Takashi Sato <t-sato@yk.jp.nec.com>\n---\n linux-2.6/xfs_ioctl.c | 15 ---------------\n linux-2.6/xfs_ioctl32.c | 2 --\n xfs_fs.h | 4 ++--\n 3 files changed, 2 insertions(+), 19 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-freeze/Documentation/dontdiff linux-2.6.27-rc7-freeze/fs/xfs/linux-2.6/xfs_ioctl.c linux-\n2.6.27-rc7-xfs/fs/xfs/linux-2.6/xfs_ioctl.c\n--- linux-2.6.27-rc7-freeze/fs/xfs/linux-2.6/xfs_ioctl.c\t2008-09-22 07:29:55.000000000 +0900\n+++ linux-2.6.27-rc7-xfs/fs/xfs/linux-2.6/xfs_ioctl.c\t2008-09-22 14:19:19.000000000 +0900\n@@ -1529,21 +1529,6 @@ xfs_ioctl(\n \t\treturn -error;\n \t}\n \n-\tcase XFS_IOC_FREEZE:\n-\t\tif (!capable(CAP_SYS_ADMIN))\n-\t\t\treturn -EPERM;\n-\n-\t\tif (inode->i_sb->s_frozen == SB_UNFROZEN)\n-\t\t\tfreeze_bdev(inode->i_sb->s_bdev);\n-\t\treturn 0;\n-\n-\tcase XFS_IOC_THAW:\n-\t\tif (!capable(CAP_SYS_ADMIN))\n-\t\t\treturn -EPERM;\n-\t\tif (inode->i_sb->s_frozen != SB_UNFROZEN)\n-\t\t\tthaw_bdev(inode->i_sb->s_bdev, inode->i_sb);\n-\t\treturn 0;\n-\n \tcase XFS_IOC_GOINGDOWN: {\n \t\t__uint32_t in;\n \ndiff -uprN -X linux-2.6.27-rc7-freeze/Documentation/dontdiff linux-2.6.27-rc7-freeze/fs/xfs/linux-2.6/xfs_ioctl32.c linu\nx-2.6.27-rc7-xfs/fs/xfs/linux-2.6/xfs_ioctl32.c\n--- linux-2.6.27-rc7-freeze/fs/xfs/linux-2.6/xfs_ioctl32.c\t2008-09-22 07:29:55.000000000 +0900\n+++ linux-2.6.27-rc7-xfs/fs/xfs/linux-2.6/xfs_ioctl32.c\t2008-09-22 14:19:19.000000000 +0900\n@@ -398,8 +398,6 @@ xfs_compat_ioctl(\n \tcase XFS_IOC_FSGROWFSDATA:\n \tcase XFS_IOC_FSGROWFSLOG:\n \tcase XFS_IOC_FSGROWFSRT:\n-\tcase XFS_IOC_FREEZE:\n-\tcase XFS_IOC_THAW:\n \tcase XFS_IOC_GOINGDOWN:\n \tcase XFS_IOC_ERROR_INJECTION:\n \tcase XFS_IOC_ERROR_CLEARALL:\ndiff -uprN -X linux-2.6.27-rc7-freeze/Documentation/dontdiff linux-2.6.27-rc7-freeze/fs/xfs/xfs_fs.h linux-2.6.27-rc7-xf\ns/fs/xfs/xfs_fs.h\n--- linux-2.6.27-rc7-freeze/fs/xfs/xfs_fs.h\t2008-09-22 07:29:55.000000000 +0900\n+++ linux-2.6.27-rc7-xfs/fs/xfs/xfs_fs.h\t2008-09-22 14:19:19.000000000 +0900\n@@ -477,8 +477,8 @@ typedef struct xfs_handle {\n #define XFS_IOC_ERROR_INJECTION\t _IOW ('X', 116, struct xfs_error_injection)\n #define XFS_IOC_ERROR_CLEARALL\t _IOW ('X', 117, struct xfs_error_injection)\n /*\tXFS_IOC_ATTRCTL_BY_HANDLE -- deprecated 118\t */\n-#define XFS_IOC_FREEZE\t\t _IOWR('X', 119, int)\n-#define XFS_IOC_THAW\t\t _IOWR('X', 120, int)\n+/*\tXFS_IOC_FREEZE\t\t -- FIFREEZE 119\t */\n+/*\tXFS_IOC_THAW\t\t -- FITHAW 120\t */\n #define XFS_IOC_FSSETDM_BY_HANDLE _IOW ('X', 121, struct xfs_fsop_setdm_handlereq)\n #define XFS_IOC_ATTRLIST_BY_HANDLE _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq)\n #define XFS_IOC_ATTRMULTI_BY_HANDLE _IOW ('X', 123, struct xfs_fsop_attrmulti_handlereq)\n", "prefixes": [ "9/10" ] }