Skip to contentSkip to conversation

linux/magic.h: move cramfs magic out of cramfs_fs.h

PATCH New Mike Frysinger 1 participant 1 message May 26, 2009 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/magic.h: move cramfs magic out of cramfs_fs.h

---
 include/linux/cramfs_fs.h |    3 +--
 include/linux/magic.h     |    2 ++
 2 files changed, 3 insertions(+), 2 deletions(-)
include/linux/cramfs_fs.h +1 -2
index 3be4e5a..6fc2bed 100644
@@ -2,9 +2,8 @@
 #define __CRAMFS_H
 
 #include <linux/types.h>
+#include <linux/magic.h>
 
-#define CRAMFS_MAGIC		0x28cd3d45	/* some random number */
-#define CRAMFS_MAGIC_WEND	0x453dcd28	/* magic number with the wrong endianess */
 #define CRAMFS_SIGNATURE	"Compressed ROMFS"
 
 /*
include/linux/magic.h +2 -0
index 5b4e28b..192f980 100644
@@ -6,6 +6,8 @@
 #define AFS_SUPER_MAGIC                0x5346414F
 #define AUTOFS_SUPER_MAGIC	0x0187
 #define CODA_SUPER_MAGIC	0x73757245
+#define CRAMFS_MAGIC		0x28cd3d45	/* some random number */
+#define CRAMFS_MAGIC_WEND	0x453dcd28	/* magic number with the wrong endianess */
 #define DEBUGFS_MAGIC          0x64626720
 #define SYSFS_MAGIC		0x62656572
 #define SECURITYFS_MAGIC	0x73636673
Signature · 1 line
1.6.3.1