KVM: Move kvmfs magic number to <linux/magic.h>

Use the standard magic.h for kvmfs.

Cc: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>

authored by Andrew Morton and committed by Avi Kivity e9cdb1e3 58e690e6

+3 -2
+2 -2
drivers/kvm/kvm_main.c
··· 20 #include <linux/kvm.h> 21 #include <linux/module.h> 22 #include <linux/errno.h> 23 #include <asm/processor.h> 24 #include <linux/percpu.h> 25 #include <linux/gfp.h> ··· 76 77 static struct dentry *debugfs_dir; 78 79 - #define KVMFS_MAGIC 0x19700426 80 struct vfsmount *kvmfs_mnt; 81 82 #define MAX_IO_MSRS 256 ··· 2433 static int kvmfs_get_sb(struct file_system_type *fs_type, int flags, 2434 const char *dev_name, void *data, struct vfsmount *mnt) 2435 { 2436 - return get_sb_pseudo(fs_type, "kvm:", NULL, KVMFS_MAGIC, mnt); 2437 } 2438 2439 static struct file_system_type kvm_fs_type = {
··· 20 #include <linux/kvm.h> 21 #include <linux/module.h> 22 #include <linux/errno.h> 23 + #include <linux/magic.h> 24 #include <asm/processor.h> 25 #include <linux/percpu.h> 26 #include <linux/gfp.h> ··· 75 76 static struct dentry *debugfs_dir; 77 78 struct vfsmount *kvmfs_mnt; 79 80 #define MAX_IO_MSRS 256 ··· 2433 static int kvmfs_get_sb(struct file_system_type *fs_type, int flags, 2434 const char *dev_name, void *data, struct vfsmount *mnt) 2435 { 2436 + return get_sb_pseudo(fs_type, "kvm:", NULL, KVMFS_SUPER_MAGIC, mnt); 2437 } 2438 2439 static struct file_system_type kvm_fs_type = {
+1
include/linux/magic.h
··· 13 #define HPFS_SUPER_MAGIC 0xf995e849 14 #define ISOFS_SUPER_MAGIC 0x9660 15 #define JFFS2_SUPER_MAGIC 0x72b6 16 17 #define MINIX_SUPER_MAGIC 0x137F /* original minix fs */ 18 #define MINIX_SUPER_MAGIC2 0x138F /* minix fs, 30 char names */
··· 13 #define HPFS_SUPER_MAGIC 0xf995e849 14 #define ISOFS_SUPER_MAGIC 0x9660 15 #define JFFS2_SUPER_MAGIC 0x72b6 16 + #define KVMFS_SUPER_MAGIC 0x19700426 17 18 #define MINIX_SUPER_MAGIC 0x137F /* original minix fs */ 19 #define MINIX_SUPER_MAGIC2 0x138F /* minix fs, 30 char names */