bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 09/17] ext2fs: set the f_namelen to the correct value


From: Samuel Thibault
Subject: Re: [PATCH 09/17] ext2fs: set the f_namelen to the correct value
Date: Sun, 23 Jan 2022 12:05:35 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!

Etienne Brateau, le dim. 23 janv. 2022 05:17:07 +0100, a ecrit:
> ---
>  ext2fs/inode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ext2fs/inode.c b/ext2fs/inode.c
> index 47d05f47..511faf6e 100644
> --- a/ext2fs/inode.c
> +++ b/ext2fs/inode.c
> @@ -541,7 +541,7 @@ diskfs_set_statfs (struct statfs *st)
>    st->f_files = le32toh (sblock->s_inodes_count);
>    st->f_ffree = le32toh (sblock->s_free_inodes_count);
>    st->f_fsid = getpid ();
> -  st->f_namelen = 0;
> +  st->f_namelen = EXT2_NAME_LEN;
>    st->f_favail = st->f_ffree;
>    st->f_frsize = frag_size;
>    return 0;
> -- 
> 2.34.1
> 
> 

-- 
Samuel
"2 + 2 = 5 pour d'assez grandes valeurs de 2"



reply via email to

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