|
@@ -57,6 +57,7 @@ static const struct super_operations befs_sops = {
|
|
.put_super = befs_put_super, /* uninit super */
|
|
.put_super = befs_put_super, /* uninit super */
|
|
.statfs = befs_statfs, /* statfs */
|
|
.statfs = befs_statfs, /* statfs */
|
|
.remount_fs = befs_remount,
|
|
.remount_fs = befs_remount,
|
|
|
|
+ .show_options = generic_show_options,
|
|
};
|
|
};
|
|
|
|
|
|
/* slab cache for befs_inode_info objects */
|
|
/* slab cache for befs_inode_info objects */
|
|
@@ -759,10 +760,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
|
|
befs_super_block *disk_sb;
|
|
befs_super_block *disk_sb;
|
|
struct inode *root;
|
|
struct inode *root;
|
|
long ret = -EINVAL;
|
|
long ret = -EINVAL;
|
|
-
|
|
|
|
const unsigned long sb_block = 0;
|
|
const unsigned long sb_block = 0;
|
|
const off_t x86_sb_off = 512;
|
|
const off_t x86_sb_off = 512;
|
|
|
|
|
|
|
|
+ save_mount_options(sb, data);
|
|
|
|
+
|
|
sb->s_fs_info = kmalloc(sizeof (*befs_sb), GFP_KERNEL);
|
|
sb->s_fs_info = kmalloc(sizeof (*befs_sb), GFP_KERNEL);
|
|
if (sb->s_fs_info == NULL) {
|
|
if (sb->s_fs_info == NULL) {
|
|
printk(KERN_ERR
|
|
printk(KERN_ERR
|