[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>
This commit is contained in:
committed by
Linus Torvalds
parent
a5e3985fa0
commit
717dd80e99
+3
-2
@@ -277,6 +277,7 @@ static struct super_operations hfsplus_sops = {
|
||||
.write_super = hfsplus_write_super,
|
||||
.statfs = hfsplus_statfs,
|
||||
.remount_fs = hfsplus_remount,
|
||||
.show_options = hfsplus_show_options,
|
||||
};
|
||||
|
||||
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)
|
||||
memset(sbi, 0, sizeof(HFSPLUS_SB(sb)));
|
||||
sb->s_fs_info = sbi;
|
||||
INIT_HLIST_HEAD(&sbi->rsrc_inodes);
|
||||
fill_defaults(sbi);
|
||||
if (!parse_options(data, sbi)) {
|
||||
hfsplus_fill_defaults(sbi);
|
||||
if (!hfsplus_parse_options(data, sbi)) {
|
||||
if (!silent)
|
||||
printk("HFS+-fs: unable to parse mount options\n");
|
||||
err = -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user