mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
mount options: fix isofs
Add a .show_options super operation to isofs. Use generic_show_options() and save the complete option string in isofs_fill_super(). Signed-off-by: Miklos Szeredi <[email protected]> Acked-by: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
10f19a86a5
commit
d0132eea7a
1 changed files with 3 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ static const struct super_operations isofs_sops = {
|
|||
.put_super = isofs_put_super,
|
||||
.statfs = isofs_statfs,
|
||||
.remount_fs = isofs_remount,
|
||||
.show_options = generic_show_options,
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -561,6 +562,8 @@ static int isofs_fill_super(struct super_block *s, void *data, int silent)
|
|||
int table, error = -EINVAL;
|
||||
unsigned int vol_desc_start;
|
||||
|
||||
save_mount_options(s, data);
|
||||
|
||||
sbi = kzalloc(sizeof(*sbi), GFP_KERNEL);
|
||||
if (!sbi)
|
||||
return -ENOMEM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue