diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2005-09-06 18:18:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:50 -0400 |
commit | 717dd80e999cdc84fb611decec5c5054d37c40d2 (patch) | |
tree | 871c103741512a24a01f38a875a841bca8153208 /fs/hfsplus/super.c | |
parent | a5e3985fa014029eb6795664c704953720cc7f7d (diff) |
[PATCH] hfs: show_options support
This adds support for show_options. It also fixes some namespace polution in
the hfsplus driver.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/hfsplus/super.c')
-rw-r--r-- | fs/hfsplus/super.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index d55ad67b8e4..b0689955dae 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c | |||
@@ -277,6 +277,7 @@ static struct super_operations hfsplus_sops = { | |||
277 | .write_super = hfsplus_write_super, | 277 | .write_super = hfsplus_write_super, |
278 | .statfs = hfsplus_statfs, | 278 | .statfs = hfsplus_statfs, |
279 | .remount_fs = hfsplus_remount, | 279 | .remount_fs = hfsplus_remount, |
280 | .show_options = hfsplus_show_options, | ||
280 | }; | 281 | }; |
281 | 282 | ||
282 | static int hfsplus_fill_super(struct super_block *sb, void *data, int silent) | 283 | static int hfsplus_fill_super(struct super_block *sb, void *data, int silent) |
@@ -297,8 +298,8 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent) | |||
297 | memset(sbi, 0, sizeof(HFSPLUS_SB(sb))); | 298 | memset(sbi, 0, sizeof(HFSPLUS_SB(sb))); |
298 | sb->s_fs_info = sbi; | 299 | sb->s_fs_info = sbi; |
299 | INIT_HLIST_HEAD(&sbi->rsrc_inodes); | 300 | INIT_HLIST_HEAD(&sbi->rsrc_inodes); |
300 | fill_defaults(sbi); | 301 | hfsplus_fill_defaults(sbi); |
301 | if (!parse_options(data, sbi)) { | 302 | if (!hfsplus_parse_options(data, sbi)) { |
302 | if (!silent) | 303 | if (!silent) |
303 | printk("HFS+-fs: unable to parse mount options\n"); | 304 | printk("HFS+-fs: unable to parse mount options\n"); |
304 | err = -EINVAL; | 305 | err = -EINVAL; |