aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-02-08 07:21:47 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:40 -0500
commit90d09e141bb23bf0df5e31c40fb3175c17e8bda2 (patch)
tree375acc3e4fc98196bf8118ca2155808763836b28
parentcdf6ccc8b88d667b3d326d3c506bca60b8c09939 (diff)
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: Miklos Szeredi <mszeredi@suse.cz> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/powerpc/platforms/cell/spufs/inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c
index 90784c029f25..e6e6559c55ed 100644
--- a/arch/powerpc/platforms/cell/spufs/inode.c
+++ b/arch/powerpc/platforms/cell/spufs/inode.c
@@ -755,8 +755,11 @@ spufs_fill_super(struct super_block *sb, void *data, int silent)
755 .statfs = simple_statfs, 755 .statfs = simple_statfs,
756 .delete_inode = spufs_delete_inode, 756 .delete_inode = spufs_delete_inode,
757 .drop_inode = generic_delete_inode, 757 .drop_inode = generic_delete_inode,
758 .show_options = generic_show_options,
758 }; 759 };
759 760
761 save_mount_options(sb, data);
762
760 sb->s_maxbytes = MAX_LFS_FILESIZE; 763 sb->s_maxbytes = MAX_LFS_FILESIZE;
761 sb->s_blocksize = PAGE_CACHE_SIZE; 764 sb->s_blocksize = PAGE_CACHE_SIZE;
762 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; 765 sb->s_blocksize_bits = PAGE_CACHE_SHIFT;