summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/linux_fsinfo.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2010-10-01 10:49:47 -0400
committerUlrich Drepper <drepper@gmail.com>2010-10-01 10:49:47 -0400
commit6484ba5ef092b62b7d2112c0d976dbd6d1a40fde (patch)
treeff7991c4fe3e1d0a49f0e3bb1399f24b1237080f /sysdeps/unix/sysv/linux/linux_fsinfo.h
parent91c42559190f59c6c4b3cb0b7f5c9bb11dd28161 (diff)
downloadglibc-6484ba5ef092b62b7d2112c0d976dbd6d1a40fde.tar.gz
Handle cgroup and btrfs filesystems
Diffstat (limited to 'sysdeps/unix/sysv/linux/linux_fsinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/linux_fsinfo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h
index b10e98b46f..8efbdea42d 100644
--- a/sysdeps/unix/sysv/linux/linux_fsinfo.h
+++ b/sysdeps/unix/sysv/linux/linux_fsinfo.h
@@ -23,7 +23,7 @@
/* These definitions come from the kernel headers. But we cannot
include the headers here because of type clashes. If new
filesystem types will become available we have to add the
- appropriate definitions here.*/
+ appropriate definitions here. */
/* Constant that identifies the `adfs' filesystem. */
#define ADFS_SUPER_MAGIC 0xadf5
@@ -37,6 +37,12 @@
/* Constant that identifies the `bfs' filesystem. */
#define BFS_MAGIC 0x1BADFACE
+/* Constant that identifies the `btrfs' filesystem. */
+#define BTRFS_SUPER_MAGIC 0x1BADFACE
+
+/* Constant that identifies the `cgroup' filesystem. */
+#define CGROUP_SUPER_MAGIC 0x1BADFACE
+
/* Constant that identifies the `coda' filesystem. */
#define CODA_SUPER_MAGIC 0x73757245