From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC3F6C4BA06 for ; Tue, 25 Feb 2020 23:10:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A319F2176D for ; Tue, 25 Feb 2020 23:10:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Od9YpZmw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728865AbgBYXKN (ORCPT ); Tue, 25 Feb 2020 18:10:13 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:53214 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbgBYXKN (ORCPT ); Tue, 25 Feb 2020 18:10:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=HMJ4FvSTtHcG1GNZpsZVpzMK23Y4YQVFK2i/n6xLvhE=; b=Od9YpZmwRGyiSEbOhtvWlCFslN Gz8BJ8afkCjvXgrQULMLUXM9tDDtF0O5ktZwKzxjnnSpt0YdF/HtXGQMx+Pz0Tvz8okmlJlr6dUeo 7k5vXC2rat7MA0dfv55WBdjHTt3dbVzjXvNAFoq0hdcM+98f9/EA6OpfVC4FtNHD73h+xhHMj6hA7 PPPtBgEAp8r3bUxEPX1QL/9dVgsLLCwC1Gkg5Ibbbw974t/IDjp4OYdrZP6TyM/2yIdK2HgNQcgIo ZkCQmr84pjKUCP13whoazh6ciU0ecje1R1BuKIICivMZSZPxtDqa15sp1bbp15DIeWUPhC4vpncG+ vXartrDA==; Received: from [4.28.11.157] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6jLA-00035D-RN for linux-xfs@vger.kernel.org; Tue, 25 Feb 2020 23:10:12 +0000 From: Christoph Hellwig To: linux-xfs@vger.kernel.org Subject: clean up the attr interface v6 Date: Tue, 25 Feb 2020 15:09:42 -0800 Message-Id: <20200225231012.735245-1-hch@lst.de> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Also available as a git tree here: http://git.infradead.org/users/hch/xfs.git/shortlog/refs/heads/xfs-attr-cleanup.6 An xfsprogs tree porting over the libxfs changes is available here: http://git.infradead.org/users/hch/xfsprogs.git/shortlog/refs/heads/attr-cleanup Changes since v5: - don't move xfs_da_args Changes since v4: - rename the attr_namespace field to attr_filter - drop "properly type the buffer field in struct xfs_fsop_attrlist_handlere", this was causing too much discussion for a trivial cleanup - improve a few commit messages and comments - improve the ATTR_REPLACE checks a little more - turn the xfs_forget_acl stub into an inline function - fix a 0 vs NULL sparse warning in xfs_ioc_attr_list Changes since v3: - clean up a cast - fixup a comment - fix a flags check to use the right flags (bisection only) - move a few hunks around to better spots in the series Changes since v2: - add more comments - fix up an error handling corner case in __xfs_set_acl - add more cowbell^H^H^H^H^H^H^Hbool - add a new patch to reject invalid namespaces flags in XFS_IOC_ATTRLIST_BY_HANDLE - remove ATTR_ENTSIZE entirely Changes since v1: - rebased to for-next, which includes the fixes from the first version