ocfs2: move OCFS2_SUPER_MAGIC to include/linux/magic.h
PATCH 1/1 ocfs2: move OCFS2_SUPER_MAGIC to include/linux/magic.h
move OCFS2_SUPER_MAGIC to include/linux/magic.h
Signed-off-by Tao Ma <[email protected]>
Cc Joel Becker <[email protected]>
Cc ocfs2-devel at oss.oracle.com
--- fs/ocfs2/ocfs2_fs.h | 3 --- fs/ocfs2/super.c | 1 + include/linux/magic.h | 1 + 3 files changed, 2 insertions(+), 3 deletions(-)
fs/ocfs2/ocfs2_fs.h +0 -3
@@ -56,9 +56,6 @@#define OCFS2_MIN_BLOCKSIZE 512#define OCFS2_MAX_BLOCKSIZE OCFS2_MIN_CLUSTERSIZE -/* Filesystem magic number */ -#define OCFS2_SUPER_MAGIC 0x7461636f -/* Object signatures */ #define OCFS2_SUPER_BLOCK_SIGNATURE "OCFSV2"#define OCFS2_INODE_SIGNATURE "INODE01"
fs/ocfs2/super.c +1 -0
@@ -42,6 +42,7 @@#include <linux/seq_file.h> #include <linux/quotaops.h> #include <linux/smp_lock.h> +#include <linux/magic.h> #define MLOG_MASK_PREFIX ML_SUPER#include <cluster/masklog.h>
include/linux/magic.h +1 -0
@@ -36,6 +36,7 @@#define MSDOS_SUPER_MAGIC 0x4d44/* MD */ #define NCP_SUPER_MAGIC 0x564c/* Guess, what 0x564c is :-) */ #define NFS_SUPER_MAGIC 0x6969 +#define OCFS2_SUPER_MAGIC 0x7461636f#define OPENPROM_SUPER_MAGIC 0x9fa1#define PROC_SUPER_MAGIC 0x9fa0#define QNX4_SUPER_MAGIC 0x002f/* qnx4 fs detection */
Signature · 1 line
1.5.5