aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/befs')
-rw-r--r--fs/befs/linuxvfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 403fe661c144..82123ff3e1dd 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -57,6 +57,7 @@ static const struct super_operations befs_sops = {
57 .put_super = befs_put_super, /* uninit super */ 57 .put_super = befs_put_super, /* uninit super */
58 .statfs = befs_statfs, /* statfs */ 58 .statfs = befs_statfs, /* statfs */
59 .remount_fs = befs_remount, 59 .remount_fs = befs_remount,
60 .show_options = generic_show_options,
60}; 61};
61 62
62/* slab cache for befs_inode_info objects */ 63/* slab cache for befs_inode_info objects */
@@ -759,10 +760,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
759 befs_super_block *disk_sb; 760 befs_super_block *disk_sb;
760 struct inode *root; 761 struct inode *root;
761 long ret = -EINVAL; 762 long ret = -EINVAL;
762
763 const unsigned long sb_block = 0; 763 const unsigned long sb_block = 0;
764 const off_t x86_sb_off = 512; 764 const off_t x86_sb_off = 512;
765 765
766 save_mount_options(sb, data);
767
766 sb->s_fs_info = kmalloc(sizeof (*befs_sb), GFP_KERNEL); 768 sb->s_fs_info = kmalloc(sizeof (*befs_sb), GFP_KERNEL);
767 if (sb->s_fs_info == NULL) { 769 if (sb->s_fs_info == NULL) {
768 printk(KERN_ERR 770 printk(KERN_ERR