summaryrefslogtreecommitdiff
path: root/include/linux/magic.h
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2009-09-23 03:45:53 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 18:39:42 +0400
commita7e3108cca54c105f496919040f00df56767ec00 (patch)
tree42aaadd3648bada66632f50e9658d37bf7bb16c8 /include/linux/magic.h
parent0d4c36a9b6ab6b15851f60956d901a3c53574ea8 (diff)
downloadlinux-a7e3108cca54c105f496919040f00df56767ec00.tar.xz
ramfs: move RAMFS_MAGIC to include/linux/magic.h
initramfs userspace likes to use this magic number. Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: maximilian attems <max@stro.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/magic.h')
-rw-r--r--include/linux/magic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/magic.h b/include/linux/magic.h
index bce37786a0a5..76285e01b39e 100644
--- a/include/linux/magic.h
+++ b/include/linux/magic.h
@@ -12,6 +12,7 @@
#define SYSFS_MAGIC 0x62656572
#define SECURITYFS_MAGIC 0x73636673
#define SELINUX_MAGIC 0xf97cff8c
+#define RAMFS_MAGIC 0x858458f6 /* some random number */
#define TMPFS_MAGIC 0x01021994
#define HUGETLBFS_MAGIC 0x958458f6 /* some random number */
#define SQUASHFS_MAGIC 0x73717368