Commit 90d09e14 authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Linus Torvalds

mount options: fix spufs

Add a .show_options super operation to spufs.

Use generic_show_options() and save the complete option string in
spufs_fill_super().
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cdf6ccc8
...@@ -755,8 +755,11 @@ spufs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -755,8 +755,11 @@ spufs_fill_super(struct super_block *sb, void *data, int silent)
.statfs = simple_statfs, .statfs = simple_statfs,
.delete_inode = spufs_delete_inode, .delete_inode = spufs_delete_inode,
.drop_inode = generic_delete_inode, .drop_inode = generic_delete_inode,
.show_options = generic_show_options,
}; };
save_mount_options(sb, data);
sb->s_maxbytes = MAX_LFS_FILESIZE; sb->s_maxbytes = MAX_LFS_FILESIZE;
sb->s_blocksize = PAGE_CACHE_SIZE; sb->s_blocksize = PAGE_CACHE_SIZE;
sb->s_blocksize_bits = PAGE_CACHE_SHIFT; sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment