diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2022-01-23 05:17:07 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-23 12:05:29 +0100 |
commit | 59a80db1a4cc976642633a4a04d339bf17ae3d13 (patch) | |
tree | f427b31ca13f075ae910938571a1af86bda0e28e /ext2fs | |
parent | 2e2c237ab90ade751753944f0ed1830b24478396 (diff) | |
download | hurd-59a80db1a4cc976642633a4a04d339bf17ae3d13.tar.gz hurd-59a80db1a4cc976642633a4a04d339bf17ae3d13.tar.bz2 hurd-59a80db1a4cc976642633a4a04d339bf17ae3d13.zip |
ext2fs: set the f_namelen to the correct value
Message-Id: <20220123041715.19402-9-etienne.brateau@gmail.com>
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c index 30219c71..fda3dcba 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; |