diff options
author | Nick Black <dank@qemfd.net> | 2009-09-22 19:43:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:28 -0400 |
commit | 1fd7317d02ec03c6fdf072317841287933d06d24 (patch) | |
tree | b7ac4d511896dbb21c1b76a27f6c4d5b4cb6c7bb /include/linux/magic.h | |
parent | af91322ef3f29ae4114e736e2a72e28b4d619cf9 (diff) |
Move magic numbers into magic.h
Move various magic-number definitions into magic.h.
Signed-off-by: Nick Black <dank@qemfd.net>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Casey Schaufler <casey@schaufler-ca.com>
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/magic.h b/include/linux/magic.h index 1923327b9869..bce37786a0a5 100644 --- a/include/linux/magic.h +++ b/include/linux/magic.h | |||
@@ -13,6 +13,7 @@ | |||
13 | #define SECURITYFS_MAGIC 0x73636673 | 13 | #define SECURITYFS_MAGIC 0x73636673 |
14 | #define SELINUX_MAGIC 0xf97cff8c | 14 | #define SELINUX_MAGIC 0xf97cff8c |
15 | #define TMPFS_MAGIC 0x01021994 | 15 | #define TMPFS_MAGIC 0x01021994 |
16 | #define HUGETLBFS_MAGIC 0x958458f6 /* some random number */ | ||
16 | #define SQUASHFS_MAGIC 0x73717368 | 17 | #define SQUASHFS_MAGIC 0x73717368 |
17 | #define EFS_SUPER_MAGIC 0x414A53 | 18 | #define EFS_SUPER_MAGIC 0x414A53 |
18 | #define EXT2_SUPER_MAGIC 0xEF53 | 19 | #define EXT2_SUPER_MAGIC 0xEF53 |
@@ -53,4 +54,8 @@ | |||
53 | #define INOTIFYFS_SUPER_MAGIC 0x2BAD1DEA | 54 | #define INOTIFYFS_SUPER_MAGIC 0x2BAD1DEA |
54 | 55 | ||
55 | #define STACK_END_MAGIC 0x57AC6E9D | 56 | #define STACK_END_MAGIC 0x57AC6E9D |
57 | |||
58 | #define DEVPTS_SUPER_MAGIC 0x1cd1 | ||
59 | #define SOCKFS_MAGIC 0x534F434B | ||
60 | |||
56 | #endif /* __LINUX_MAGIC_H__ */ | 61 | #endif /* __LINUX_MAGIC_H__ */ |