From patchwork Mon Jan 9 22:24:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1723710 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NrT650f3Fz23fY for ; Tue, 10 Jan 2023 09:25:17 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DD6DE3858CDA for ; Mon, 9 Jan 2023 22:25:13 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id CA83A3858CDA for ; Mon, 9 Jan 2023 22:25:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA83A3858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.96,313,1665475200"; d="scan'208";a="93646320" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 09 Jan 2023 14:24:59 -0800 IronPort-SDR: DdynguETGoUVYICkdMAd7ijs5zsGrItpbDDxDl0GJ4ZJBCOUHjm/cSBS2A8XxrGB78IIxfp04m hjgIGMwGpw3JMvpaaJ7cXbaRQuTyW9ry7wt6hK0GVa5G0XozTyhFm36pRcobgRTzGJgV7TBRIk 9Yczf65j/MN7dnCoeYnWQd2b0ENEzfC7GceHy2sF6iXcMvOxgKU2Kw029hfG6HQzG0QM3PsYYg +wghBLjEhGjoEp+X3+1eTBEgRhykMjBbZuXQ3gIDsHuHobCVi4/ELWGli3bP5thNXYIImvhbbh YO8= Date: Mon, 9 Jan 2023 22:24:55 +0000 From: Joseph Myers To: Subject: Add STATX_DIOALIGN from Linux 6.1 to bits/statx-generic.h Message-ID: MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-13.mgc.mentorg.com (139.181.222.13) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3115.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Linux 6.1 adds a new STATX_DIOALIGN constant. Add it to glibc's bits/statx-generic.h. Tested for x86_64. Reviewed-by: Adhemerval Zanella diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h index 6869855ee7..3a02a84ce9 100644 --- a/io/bits/statx-generic.h +++ b/io/bits/statx-generic.h @@ -41,6 +41,7 @@ # define STATX_ALL 0x0fffU # define STATX_BTIME 0x0800U # define STATX_MNT_ID 0x1000U +# define STATX_DIOALIGN 0x2000U # define STATX__RESERVED 0x80000000U # define STATX_ATTR_COMPRESSED 0x0004