aboutsummaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r--fs/block_dev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index a9ff3000b83d..e08f6a20a5bb 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -16,6 +16,7 @@
16#include <linux/blkdev.h> 16#include <linux/blkdev.h>
17#include <linux/module.h> 17#include <linux/module.h>
18#include <linux/blkpg.h> 18#include <linux/blkpg.h>
19#include <linux/magic.h>
19#include <linux/buffer_head.h> 20#include <linux/buffer_head.h>
20#include <linux/swap.h> 21#include <linux/swap.h>
21#include <linux/pagevec.h> 22#include <linux/pagevec.h>
@@ -506,7 +507,7 @@ static const struct super_operations bdev_sops = {
506static struct dentry *bd_mount(struct file_system_type *fs_type, 507static struct dentry *bd_mount(struct file_system_type *fs_type,
507 int flags, const char *dev_name, void *data) 508 int flags, const char *dev_name, void *data)
508{ 509{
509 return mount_pseudo(fs_type, "bdev:", &bdev_sops, NULL, 0x62646576); 510 return mount_pseudo(fs_type, "bdev:", &bdev_sops, NULL, BDEVFS_MAGIC);
510} 511}
511 512
512static struct file_system_type bd_type = { 513static struct file_system_type bd_type = {