summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips
diff options
context:
space:
mode:
authorEugene Rudoy <gene.devel@gmail.com>2017-11-04 22:26:19 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-22 22:21:18 +0100
commit3ea3fb3ff7153e3d3859f971160a80a0d2403eea (patch)
tree0c8ccca8e9767fe1f73d9c3041f1a74d9346842f /libc/sysdeps/linux/mips
parent71b3a63b641716165f664cf112be0673a122cea0 (diff)
remove misleading comment about f_frsize field
It is supported both in the sense of being contained in mips version of statfs/statfs64 structs and also in the sense that it's filled by the corresponding kernel syscalls. It is UNsupported in that sense that it's value is the same as that of f_bsize (at least on older kernel versions, the oldest version tested is 2.6.13), s. [1] and [2] for details ([1] is the latest kernel version as of now, [2] is the oldest kernel version git history is available for). [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/fs/statfs.c?h=v4.14-rc7#n64 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/fs/open.c?h=v2.6.12-rc2#n41 Follow-up of 68de9946e914d8c30dcc6667a059ea59e5b74cac Signed-off-by: Eugene Rudoy <gene.devel@gmail.com> Signed-off-by: Ralf Friedl <Ralf.Friedl@online.de>
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r--libc/sysdeps/linux/mips/bits/statfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/mips/bits/statfs.h b/libc/sysdeps/linux/mips/bits/statfs.h
index 673120d1a..baa964532 100644
--- a/libc/sysdeps/linux/mips/bits/statfs.h
+++ b/libc/sysdeps/linux/mips/bits/statfs.h
@@ -26,7 +26,7 @@ struct statfs
long int f_type;
#define f_fstyp f_type
long int f_bsize;
- long int f_frsize; /* Fragment size - unsupported */
+ long int f_frsize;
#ifndef __USE_FILE_OFFSET64
__fsblkcnt_t f_blocks;
__fsblkcnt_t f_bfree;
@@ -53,7 +53,7 @@ struct statfs64
long int f_type;
#define f_fstyp f_type
long int f_bsize;
- long int f_frsize; /* Fragment size - unsupported */
+ long int f_frsize;
__fsblkcnt64_t f_blocks;
__fsblkcnt64_t f_bfree;
__fsblkcnt64_t f_files;