diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-02-08 07:21:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:40 -0500 |
commit | d0132eea7a295623e34e26b0977638cc0f62a2c6 (patch) | |
tree | 2fac05222d8ea643c3e652f878ed06b97d73a92e /fs | |
parent | 10f19a86a5e106edb86d354137ba6e7388ecd1ce (diff) |
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 <mszeredi@suse.cz>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/isofs/inode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index c3240b42ebf5..044a254d526b 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c | |||
@@ -110,6 +110,7 @@ static const struct super_operations isofs_sops = { | |||
110 | .put_super = isofs_put_super, | 110 | .put_super = isofs_put_super, |
111 | .statfs = isofs_statfs, | 111 | .statfs = isofs_statfs, |
112 | .remount_fs = isofs_remount, | 112 | .remount_fs = isofs_remount, |
113 | .show_options = generic_show_options, | ||
113 | }; | 114 | }; |
114 | 115 | ||
115 | 116 | ||
@@ -561,6 +562,8 @@ static int isofs_fill_super(struct super_block *s, void *data, int silent) | |||
561 | int table, error = -EINVAL; | 562 | int table, error = -EINVAL; |
562 | unsigned int vol_desc_start; | 563 | unsigned int vol_desc_start; |
563 | 564 | ||
565 | save_mount_options(s, data); | ||
566 | |||
564 | sbi = kzalloc(sizeof(*sbi), GFP_KERNEL); | 567 | sbi = kzalloc(sizeof(*sbi), GFP_KERNEL); |
565 | if (!sbi) | 568 | if (!sbi) |
566 | return -ENOMEM; | 569 | return -ENOMEM; |