From patchwork Sun Sep 27 16:24:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 40512 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 505A7393C875; Sun, 27 Sep 2020 16:24:46 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from hera.aquilenet.fr (hera.aquilenet.fr [IPv6:2a0c:e300::1]) by sourceware.org (Postfix) with ESMTPS id 7EC83386EC3E for ; Sun, 27 Sep 2020 16:24:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7EC83386EC3E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=samuel.thibault@ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 60D1FF3A; Sun, 27 Sep 2020 18:24:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uyh_oX9pD866; Sun, 27 Sep 2020 18:24:39 +0200 (CEST) Received: from function.home (unknown [IPv6:2a01:cb19:956:1b00:9eb6:d0ff:fe88:c3c7]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DCB07F29; Sun, 27 Sep 2020 18:24:39 +0200 (CEST) Received: from samy by function.home with local (Exim 4.94) (envelope-from ) id 1kMZTa-005oLX-N2; Sun, 27 Sep 2020 18:24:38 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Subject: [hurd,commited] hurd: add ST_RELATIME Date: Sun, 27 Sep 2020 18:24:38 +0200 Message-Id: <20200927162438.1385130-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_NEUTRAL, TXREP, UNWANTED_LANGUAGE_BODY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: , Cc: commit-hurd@gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" sysdeps/mach/hurd/bits/statvfs.h (ST_RELATIME): New macro. --- sysdeps/mach/hurd/bits/statvfs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysdeps/mach/hurd/bits/statvfs.h b/sysdeps/mach/hurd/bits/statvfs.h index 12a4729b62..e5e5625af3 100644 --- a/sysdeps/mach/hurd/bits/statvfs.h +++ b/sysdeps/mach/hurd/bits/statvfs.h @@ -89,7 +89,9 @@ enum # define ST_NOEXEC ST_NOEXEC ST_SYNCHRONOUS = 16, # define ST_SYNCHRONOUS ST_SYNCHRONOUS - ST_NOATIME = 32 /* Do not update access times. */ + ST_NOATIME = 32, /* Do not update access times. */ # define ST_NOATIME ST_NOATIME + ST_RELATIME = 64 /* Update atime relative to mtime/ctime. */ +# define ST_RELATIME ST_RELATIME #endif };