]>
Commit | Line | Data |
---|---|---|
12788f63 MT |
1 | 2011-07-07 Ulrich Drepper <drepper@gmail.com> |
2 | ||
3 | [BZ #12868] | |
4 | * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants. | |
5 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
6 | Handle Lustre. | |
7 | * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise. | |
8 | (__statfs_filesize_max): Likewise. | |
9 | Patch mostly by Andreas Dilger <adilger@whamcloud.com>. | |
10 | ||
11 | Index: glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/internal_statvfs.c | |
12 | =================================================================== | |
13 | --- glibc-2.12-2-gc4ccff1.orig/sysdeps/unix/sysv/linux/internal_statvfs.c | |
14 | +++ glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/internal_statvfs.c | |
15 | @@ -109,6 +109,9 @@ __statvfs_getflags (const char *name, in | |
16 | case LOGFS_MAGIC_U32: | |
17 | fsname = "logfs"; | |
18 | break; | |
19 | + case LUSTRE_SUPER_MAGIC: | |
20 | + fsname = "lustre"; | |
21 | + break; | |
22 | } | |
23 | ||
24 | FILE *mtab = __setmntent ("/proc/mounts", "r"); | |
25 | Index: glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/linux_fsinfo.h | |
26 | =================================================================== | |
27 | --- glibc-2.12-2-gc4ccff1.orig/sysdeps/unix/sysv/linux/linux_fsinfo.h | |
28 | +++ glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/linux_fsinfo.h | |
29 | @@ -77,6 +77,9 @@ | |
30 |