Skip to content

Commit

Permalink
mount options: fix befs
Browse files Browse the repository at this point in the history
Add a .show_options super operation to befs.

Use generic_show_options() and save the complete option string in
befs_fill_super().

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Sergey S. Kostyliov <rathamahata@php4.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Feb 8, 2008
1 parent 979db75 commit 552c3c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs/befs/linuxvfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ static const struct super_operations befs_sops = {
.put_super = befs_put_super, /* uninit super */
.statfs = befs_statfs, /* statfs */
.remount_fs = befs_remount,
.show_options = generic_show_options,
};

/* slab cache for befs_inode_info objects */
Expand Down Expand Up @@ -759,10 +760,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
befs_super_block *disk_sb;
struct inode *root;
long ret = -EINVAL;

const unsigned long sb_block = 0;
const off_t x86_sb_off = 512;

save_mount_options(sb, data);

sb->s_fs_info = kmalloc(sizeof (*befs_sb), GFP_KERNEL);
if (sb->s_fs_info == NULL) {
printk(KERN_ERR
Expand Down

0 comments on commit 552c3c6

Please sign in to comment.