|
@@ -13,6 +13,7 @@
|
|
#include <linux/mtd/super.h>
|
|
#include <linux/mtd/super.h>
|
|
#include <linux/namei.h>
|
|
#include <linux/namei.h>
|
|
#include <linux/ctype.h>
|
|
#include <linux/ctype.h>
|
|
|
|
+#include <linux/slab.h>
|
|
|
|
|
|
/*
|
|
/*
|
|
* compare superblocks to see if they're equivalent
|
|
* compare superblocks to see if they're equivalent
|
|
@@ -44,6 +45,7 @@ static int get_sb_mtd_set(struct super_block *sb, void *_mtd)
|
|
|
|
|
|
sb->s_mtd = mtd;
|
|
sb->s_mtd = mtd;
|
|
sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, mtd->index);
|
|
sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, mtd->index);
|
|
|
|
+ sb->s_bdi = mtd->backing_dev_info;
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|