diff options
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r-- | drivers/kvm/kvm_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index ca82ba359e1a..a163bca38973 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/kvm.h> | 20 | #include <linux/kvm.h> |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
23 | #include <linux/magic.h> | ||
23 | #include <asm/processor.h> | 24 | #include <asm/processor.h> |
24 | #include <linux/percpu.h> | 25 | #include <linux/percpu.h> |
25 | #include <linux/gfp.h> | 26 | #include <linux/gfp.h> |
@@ -75,7 +76,6 @@ static struct kvm_stats_debugfs_item { | |||
75 | 76 | ||
76 | static struct dentry *debugfs_dir; | 77 | static struct dentry *debugfs_dir; |
77 | 78 | ||
78 | #define KVMFS_MAGIC 0x19700426 | ||
79 | struct vfsmount *kvmfs_mnt; | 79 | struct vfsmount *kvmfs_mnt; |
80 | 80 | ||
81 | #define MAX_IO_MSRS 256 | 81 | #define MAX_IO_MSRS 256 |
@@ -2433,7 +2433,7 @@ hpa_t bad_page_address; | |||
2433 | static int kvmfs_get_sb(struct file_system_type *fs_type, int flags, | 2433 | static int kvmfs_get_sb(struct file_system_type *fs_type, int flags, |
2434 | const char *dev_name, void *data, struct vfsmount *mnt) | 2434 | const char *dev_name, void *data, struct vfsmount *mnt) |
2435 | { | 2435 | { |
2436 | return get_sb_pseudo(fs_type, "kvm:", NULL, KVMFS_MAGIC, mnt); | 2436 | return get_sb_pseudo(fs_type, "kvm:", NULL, KVMFS_SUPER_MAGIC, mnt); |
2437 | } | 2437 | } |
2438 | 2438 | ||
2439 | static struct file_system_type kvm_fs_type = { | 2439 | static struct file_system_type kvm_fs_type = { |