{"id":810303,"url":"http://patchwork.ozlabs.org/api/patches/810303/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-ext4/patch/20170905223541.20594-2-ross.zwisler@linux.intel.com/","project":{"id":8,"url":"http://patchwork.ozlabs.org/api/projects/8/?format=json","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":"<20170905223541.20594-2-ross.zwisler@linux.intel.com>","list_archive_url":null,"date":"2017-09-05T22:35:33","name":"[1/9] ext4: remove duplicate extended attributes defs","commit_ref":null,"pull_url":null,"state":"new","archived":true,"hash":"cccee961e571d22982a179aecb405118d016c36e","submitter":{"id":46514,"url":"http://patchwork.ozlabs.org/api/people/46514/?format=json","name":"Ross Zwisler","email":"ross.zwisler@linux.intel.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-ext4/patch/20170905223541.20594-2-ross.zwisler@linux.intel.com/mbox/","series":[{"id":1660,"url":"http://patchwork.ozlabs.org/api/series/1660/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-ext4/list/?series=1660","date":"2017-09-05T22:35:36","name":"add ext4 per-inode DAX flag","version":1,"mbox":"http://patchwork.ozlabs.org/series/1660/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810303/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810303/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 3xn1ly4zPtz9sR9\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed,  6 Sep 2017 08:36:30 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754197AbdIEWg3 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 5 Sep 2017 18:36:29 -0400","from mga01.intel.com ([192.55.52.88]:31464 \"EHLO mga01.intel.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1753979AbdIEWgQ (ORCPT <rfc822;linux-ext4@vger.kernel.org>);\n\tTue, 5 Sep 2017 18:36:16 -0400","from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Sep 2017 15:36:14 -0700","from theros.lm.intel.com ([10.232.112.77])\n\tby fmsmga004.fm.intel.com with ESMTP; 05 Sep 2017 15:36:14 -0700"],"X-ExtLoop1":"1","X-IronPort-AV":"E=Sophos;i=\"5.41,481,1498546800\"; d=\"scan'208\";a=\"308314865\"","From":"Ross Zwisler <ross.zwisler@linux.intel.com>","To":"Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org","Cc":"Ross Zwisler <ross.zwisler@linux.intel.com>,\n\t\"Darrick J. Wong\" <darrick.wong@oracle.com>,\n\t\"Theodore Ts'o\" <tytso@mit.edu>,\n\tAndreas Dilger <adilger.kernel@dilger.ca>,\n\tChristoph Hellwig <hch@lst.de>, Dan Williams <dan.j.williams@intel.com>,\n\tDave Chinner <david@fromorbit.com>, Jan Kara <jack@suse.cz>,\n\tlinux-ext4@vger.kernel.org, linux-nvdimm@lists.01.org,\n\tlinux-xfs@vger.kernel.org, Li Xi <lixi@ddn.com>,\n\tAndreas Dilger <adilger@dilger.ca>, Dave Chinner <dchinner@redhat.com>","Subject":"[PATCH 1/9] ext4: remove duplicate extended attributes defs","Date":"Tue,  5 Sep 2017 16:35:33 -0600","Message-Id":"<20170905223541.20594-2-ross.zwisler@linux.intel.com>","X-Mailer":"git-send-email 2.9.5","In-Reply-To":"<20170905223541.20594-1-ross.zwisler@linux.intel.com>","References":"<20170905223541.20594-1-ross.zwisler@linux.intel.com>","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 following commit:\n\ncommit 9b7365fc1c82 (\"ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR\ninterface support\")\n\nadded several defines related to extended attributes to ext4.h.  They were\nadded within an #ifndef FS_IOC_FSGETXATTR block with the comment:\n\n/* Until the uapi changes get merged for project quota... */\n\nThose uapi changes were merged by this commit:\n\ncommit 334e580a6f97 (\"fs: XFS_IOC_FS[SG]SETXATTR to FS_IOC_FS[SG]ETXATTR\npromotion\")\n\nso all the definitions needed by ext4 are available in\ninclude/uapi/linux/fs.h.  Remove the duplicates from ext4.h.\n\nSigned-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>\nCc: Li Xi <lixi@ddn.com>\nCc: Theodore Ts'o <tytso@mit.edu>\nCc: Andreas Dilger <adilger@dilger.ca>\nCc: Jan Kara <jack@suse.cz>\nCc: Dave Chinner <dchinner@redhat.com>\n---\n fs/ext4/ext4.h | 37 -------------------------------------\n 1 file changed, 37 deletions(-)","diff":"diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h\nindex a2bb7d2..c950278 100644\n--- a/fs/ext4/ext4.h\n+++ b/fs/ext4/ext4.h\n@@ -644,43 +644,6 @@ enum {\n #define EXT4_IOC_GET_ENCRYPTION_PWSALT\tFS_IOC_GET_ENCRYPTION_PWSALT\n #define EXT4_IOC_GET_ENCRYPTION_POLICY\tFS_IOC_GET_ENCRYPTION_POLICY\n \n-#ifndef FS_IOC_FSGETXATTR\n-/* Until the uapi changes get merged for project quota... */\n-\n-#define FS_IOC_FSGETXATTR\t\t_IOR('X', 31, struct fsxattr)\n-#define FS_IOC_FSSETXATTR\t\t_IOW('X', 32, struct fsxattr)\n-\n-/*\n- * Structure for FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR.\n- */\n-struct fsxattr {\n-\t__u32\t\tfsx_xflags;\t/* xflags field value (get/set) */\n-\t__u32\t\tfsx_extsize;\t/* extsize field value (get/set)*/\n-\t__u32\t\tfsx_nextents;\t/* nextents field value (get)\t*/\n-\t__u32\t\tfsx_projid;\t/* project identifier (get/set) */\n-\tunsigned char\tfsx_pad[12];\n-};\n-\n-/*\n- * Flags for the fsx_xflags field\n- */\n-#define FS_XFLAG_REALTIME\t0x00000001\t/* data in realtime volume */\n-#define FS_XFLAG_PREALLOC\t0x00000002\t/* preallocated file extents */\n-#define FS_XFLAG_IMMUTABLE\t0x00000008\t/* file cannot be modified */\n-#define FS_XFLAG_APPEND\t\t0x00000010\t/* all writes append */\n-#define FS_XFLAG_SYNC\t\t0x00000020\t/* all writes synchronous */\n-#define FS_XFLAG_NOATIME\t0x00000040\t/* do not update access time */\n-#define FS_XFLAG_NODUMP\t\t0x00000080\t/* do not include in backups */\n-#define FS_XFLAG_RTINHERIT\t0x00000100\t/* create with rt bit set */\n-#define FS_XFLAG_PROJINHERIT\t0x00000200\t/* create with parents projid */\n-#define FS_XFLAG_NOSYMLINKS\t0x00000400\t/* disallow symlink creation */\n-#define FS_XFLAG_EXTSIZE\t0x00000800\t/* extent size allocator hint */\n-#define FS_XFLAG_EXTSZINHERIT\t0x00001000\t/* inherit inode extent size */\n-#define FS_XFLAG_NODEFRAG\t0x00002000  \t/* do not defragment */\n-#define FS_XFLAG_FILESTREAM\t0x00004000\t/* use filestream allocator */\n-#define FS_XFLAG_HASATTR\t0x80000000\t/* no DIFLAG for this */\n-#endif /* !defined(FS_IOC_FSGETXATTR) */\n-\n #define EXT4_IOC_FSGETXATTR\t\tFS_IOC_FSGETXATTR\n #define EXT4_IOC_FSSETXATTR\t\tFS_IOC_FSSETXATTR\n \n","prefixes":["1/9"]}