summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/shm_open.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-15 19:21:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-15 19:21:10 +0000
commitafdda55ad55b49ee46e42976c42978460907baad (patch)
treeaab28263e8088cf18d978a5ee967a21f2232eeea /sysdeps/unix/sysv/linux/shm_open.c
parent150f740ace60e238094cde1ecf03e5c1c0e0d3ff (diff)
Update.
2000-04-14 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC. * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
Diffstat (limited to 'sysdeps/unix/sysv/linux/shm_open.c')
-rw-r--r--sysdeps/unix/sysv/linux/shm_open.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/shm_open.c b/sysdeps/unix/sysv/linux/shm_open.c
index ca24424b78..774775b6e0 100644
--- a/sysdeps/unix/sysv/linux/shm_open.c
+++ b/sysdeps/unix/sysv/linux/shm_open.c
@@ -27,14 +27,9 @@
#include <sys/mman.h>
#include <sys/statfs.h>
#include <bits/libc-lock.h>
+#include "linux_fsinfo.h"
-/* XXX Currently the Linux kernel sources do not define a super magic number
- for the shmfs and the kernel assigns the value 0 to f_type. */
-#ifndef SHMFS_SUPER_MAGIC
-# define SHMFS_SUPER_MAGIC 0
-#endif
-
/* Mount point of the shared memory filesystem. */
static struct
{