bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hurd/libdiskfs: I added in the `relatime' mount option.


From: Samuel Thibault
Subject: Re: [PATCH] hurd/libdiskfs: I added in the `relatime' mount option.
Date: Sun, 27 Sep 2020 18:43:18 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Also,

Ryan Jeffrey, le jeu. 10 sept. 2020 14:01:58 -0700, a ecrit:
> diff -ruN a/hurd/libdiskfs/file-statfs.c b/hurd/libdiskfs/file-statfs.c
> --- a/hurd/libdiskfs/file-statfs.c    2020-07-18 12:08:35.000000000 -0700
> +++ b/hurd/libdiskfs/file-statfs.c    2020-09-08 02:21:25.000000000 -0700
> @@ -43,6 +43,8 @@
>      statbuf->f_flag |= ST_SYNCHRONOUS;
>    if (_diskfs_noatime)
>      statbuf->f_flag |= ST_NOATIME;
> +  else if (_diskfs_relatime)
> +    statbuf->f_flag |= ST_RELATIME;
>  
>    diskfs_set_statfs (statbuf);
>  

Since ST_RELATIME comes from glibc, which is not released yet with that
macro, please but these two lines inside #ifdef ST_RELATIME so the hurd
can be built with an older glibc.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]