From patchwork Tue Oct 8 18:45:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 833604 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp448020wrv; Tue, 8 Oct 2024 11:47:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVy9jf8sgpfvj+QXeqTcS7CnBeXoJoHj5KwDOW0qabhAdO1wN9ZLyO+DhuhoS0bNeuArgOMHw==@linaro.org X-Google-Smtp-Source: AGHT+IFC/lW1XtdGhQwsFtHJZZ/Dr4dUJRg/7dNxAuEPecaYqtfjvDGr8YQXD4DBn7iTDpYBonBE X-Received: by 2002:a05:6214:4881:b0:6cb:c772:fbe5 with SMTP id 6a1803df08f44-6cbc772fc21mr25051716d6.30.1728413243350; Tue, 08 Oct 2024 11:47:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728413243; cv=pass; d=google.com; s=arc-20240605; b=UdySz7Txy+ukdGajusCypRSUwVzjYdxnHcNyXJJCz1OJFn3+AHkxd9Hcc/FbuXlCAo Lf8CZkjBhNVlzTbLH7FHAw/fR3leJBls4E1K6n/7VzlCcs2U/7M+MrkJnmkc/Zqz+E9G uNtDbHYgSPiLFfdBwNohauav9ZqVHgm11Nq5aYIKAVPbCpxnSW0W2A+RbbWsKsMukkm+ ubcb4A/JohAVP8VaiOud1Mo3kctz2wYZzCR2EGO1JsGMrKvIp/qwISPMehvd7pezK9LM nUkCUEZ8FxmWwZmFoC2P2KMydpM9M/FLsGBnr3OTTdqdOzcz7yyrf/rDDjSuMgQKKCOA omzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=ukGO970JtVyRXbCaEr+m+6DiIR0vAZimisyh0fhZdU4=; fh=y8c+zjefmHK4fStUusN64Sx8n6mpTt8O9P1WOVzrReM=; b=SNpL30ppnqejt1PAkK4ll24YoTTwSRp5xV0qeJ6eeu2iAfy+9rJaX9fLaOqZ62Ssro aorHP1M/I3jmzuU8xBTaLhihmSunkHOH/jbosEifw0QkYI9GJtzdw7m3+Ynkc+Ycsbpn ogpFEAW7NLyhIuDnGmNwGdQ78NsexanWWdlSDUq7W+PQhmGbC7Y8RAdsHwLXAP/gmRaa 1KXMlMblyOva/VziWSmI+FmiL9dlmfwerjn3iwBqRPU/drz0dpuOONHrqp0RLjxyfiPf gSYCV4ZHk0es71UgkxOU3EeT56bSn5iNpKlo7aswk5dslAda3pt/Nbyh54WSF9kVA01I gNBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v2e5K0K2; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 6a1803df08f44-6cba46d7e42si91401626d6.85.2024.10.08.11.47.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 11:47:23 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v2e5K0K2; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F171538650EA for ; Tue, 8 Oct 2024 18:47:22 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id 2E392386183E for ; Tue, 8 Oct 2024 18:46:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2E392386183E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2E392386183E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728413211; cv=none; b=DQVSyNW64MQ0EtY+DJR+5uwlJCOhFkU3FArDsVuPDRbHXG/oXmrlML9yxb9iWCkVlto0u8gs8u2St+oxRttsxTEfzxH4sSVU+CzbI4eHZJhM1zM8pXL0InhVh43hHFinHnd9w6xnQsHcb3O1hKMgoAJl7QZl3UcpdRjgZOaZao0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728413211; c=relaxed/simple; bh=2g/P981TUc6R+yy6+GAmKpkz3BLO80TRsSY58npbtcA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=fJvSBzkTU0gPA6FDLrMfd7Z9Fs+vBzws/4Olv+knMvpH0Y9OietfUgfPf9EyUyvrXyFJQyz3Q1f+HjtAqacJxRxEznI7cODI0r1770b3B2uqP2XZdTBuVDCgFsEaOuNKBYlHZ2UZDi5X8ow/nPUYftU37c3gcXRWGHQ2PxZAoNk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-20c544d34bcso9915585ad.1 for ; Tue, 08 Oct 2024 11:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728413207; x=1729018007; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ukGO970JtVyRXbCaEr+m+6DiIR0vAZimisyh0fhZdU4=; b=v2e5K0K2cgTNHM2nlymliD/uUiYPHod373aXUT4vviVBhLjXvrQoxo8kUut4CrON/D ABpf7cVGoDIy/XnicobOhh4rpVmnEgn3cM29wTvpzaK/fcar6ipw6BlgnRIp25y8GM5z 0H+odxCfpnX4gGpA8tdZ85V0rFnfbvyFEk/nmVV8XrIYx+GL8nLNFc3GcuQC6WBmTbfn NUQOjJxYYKs/kDdA9hbNQ1GJSzMt09qNBrd/hB+JLFzi03tDknR+KbORwYTn6XJNfn54 fPndpZY9kN5Uj1han2+MtnCn2oipRfAzjI+VPMZHrNGAKA3VDt7k1EE6L7l4n8HSM1l0 3/hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728413207; x=1729018007; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ukGO970JtVyRXbCaEr+m+6DiIR0vAZimisyh0fhZdU4=; b=sUfk/vAqG+LpMeRIIxHIURiIzJK2ZuV0T3Qs49uMCks46VrXDW/PCPsL/3y7z0CdNS suXUwH/+F4ZaZ8CbLNb21FQQZ5mNbMMg/s7dZ36WlzAQwgxrairIF1M2STPgw8tSK8G+ bsPl6NrqVlR9dr1EFWEWBfaZosJn4u4h1cno1EOSrF1vpRz+GSWiet3kkr0YbKvtVlB4 zBxt6/QTujzP08GDA9YwiYy5dKWlMkUBRtR/gJgS4uFTEwTbfTDWPS5PcGaiY2Ohpf3k pqahGtZyfCAZa/JcCn9FyqcrtmdMR6uGNPGOuA7wXIkRcLMnPgeGf5BmMQwbSTdeAfW+ saIQ== X-Gm-Message-State: AOJu0YxLyBDUIRFeS3E3+VZA4DKVFCmLA0Q9Vp41FnaeQjGu4Xfe4GqE AmG4y8xUjnqCVb9Gi5tRpy8Ycjrf5LBg7bHs89RNgcuNdbRZf8tPOCuhow6Fu9FwHFe17SnhX8Q HWNA= X-Received: by 2002:a17:903:190:b0:20c:5bca:d668 with SMTP id d9443c01a7336-20c5bcb0b26mr32371525ad.53.1728413206873; Tue, 08 Oct 2024 11:46:46 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c1395dc41sm58068535ad.217.2024.10.08.11.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 11:46:46 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers Subject: [PATCH v2 6/8] linux: Update stat-generic.h with linux 6.11 Date: Tue, 8 Oct 2024 15:45:28 -0300 Message-ID: <20241008184634.245607-7-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008184634.245607-1-adhemerval.zanella@linaro.org> References: <20241008184634.245607-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org It adds the new constants from 'fs: Add initial atomic write support info to statx' (commit 0f9ca80fa4f9670ba09721e4e36b8baf086a500c). Reviewed-by: H.J. Lu --- io/bits/statx-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h index 19c3565edc..da199ddaa1 100644 --- a/io/bits/statx-generic.h +++ b/io/bits/statx-generic.h @@ -44,6 +44,7 @@ # define STATX_DIOALIGN 0x2000U # define STATX_MNT_ID_UNIQUE 0x4000U # define STATX_SUBVOL 0x8000U +# define STATX_WRITE_ATOMIC 0x00010000U # define STATX__RESERVED 0x80000000U # define STATX_ATTR_COMPRESSED 0x0004 @@ -55,6 +56,7 @@ # define STATX_ATTR_MOUNT_ROOT 0x2000 # define STATX_ATTR_VERITY 0x100000 # define STATX_ATTR_DAX 0x200000 +# define STATX_ATTR_WRITE_ATOMIC 0x00400000 #endif /* !STATX_TYPE */ __BEGIN_DECLS