diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-04 14:42:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-04 14:42:25 +0000 |
commit | 17f83e56d0d54b3e36912d5ba1795624497d2559 (patch) | |
tree | 68ed589bf7d6caff261cfc662abd27b25994e741 /sysdeps | |
parent | fbb37d259d798875a5977a84840c81b06f49b641 (diff) | |
download | glibc-17f83e56d0d54b3e36912d5ba1795624497d2559.tar glibc-17f83e56d0d54b3e36912d5ba1795624497d2559.tar.gz glibc-17f83e56d0d54b3e36912d5ba1795624497d2559.tar.bz2 glibc-17f83e56d0d54b3e36912d5ba1795624497d2559.zip |
Update.
* sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
Report correct value for vxfs.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Dfeine VXFS_SUPER_MAGIC.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/linux_fsinfo.h | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/pathconf.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h index d108753085..41dbbde55c 100644 --- a/sysdeps/unix/sysv/linux/linux_fsinfo.h +++ b/sysdeps/unix/sysv/linux/linux_fsinfo.h @@ -126,6 +126,9 @@ /* Constants that identify the `xfs' filesystem. */ #define XFS_SUPER_MAGIC 0x58465342 +/* Constants that identify the `vxfs' filesystem. */ +#define VXFS_SUPER_MAGIC 0xa501fcf5 + /* Maximum link counts. */ #define COH_LINK_MAX 10000 #define EXT2_LINK_MAX 32000 diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c index d4159753a6..e12a08434a 100644 --- a/sysdeps/unix/sysv/linux/pathconf.c +++ b/sysdeps/unix/sysv/linux/pathconf.c @@ -130,6 +130,7 @@ __statfs_filesize_max (int result, const struct statfs *fsbuf) case NTFS_SUPER_MAGIC: case UDF_SUPER_MAGIC: case JFS_SUPER_MAGIC: + case VXFS_SUPER_MAGIC: return 64; case MSDOS_SUPER_MAGIC: |