Index: base/file_util_linux.cc |
=================================================================== |
--- base/file_util_linux.cc (revision 252347) |
+++ base/file_util_linux.cc (working copy) |
@@ -18,6 +18,9 @@ |
#ifndef HUGETLBFS_MAGIC |
#define HUGETLBFS_MAGIC 0x958458f6 |
#endif |
+#ifndef RAMFS_MAGIC |
+#define RAMFS_MAGIC 0x858458f6 |
+#endif |
#ifndef TMPFS_MAGIC |
#define TMPFS_MAGIC 0x01021994 |
#endif |
@@ -58,7 +61,8 @@ |
case CODA_SUPER_MAGIC: |
*type = FILE_SYSTEM_CODA; |
break; |
- case HUGETLBFS_MAGIC: // AKA ramfs |
+ case HUGETLBFS_MAGIC: |
+ case RAMFS_MAGIC: |
case TMPFS_MAGIC: |
*type = FILE_SYSTEM_MEMORY; |
break; |