2008-01-24 19:41:27

by Miklos Szeredi

[permalink] [raw]
Subject: [patch 23/26] mount options: fix spufs

From: Miklos Szeredi <[email protected]>

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 <[email protected]>
---

Index: linux/arch/powerpc/platforms/cell/spufs/inode.c
===================================================================
--- linux.orig/arch/powerpc/platforms/cell/spufs/inode.c 2008-01-17 19:00:52.000000000 +0100
+++ linux/arch/powerpc/platforms/cell/spufs/inode.c 2008-01-23 23:44:36.000000000 +0100
@@ -744,8 +744,11 @@ spufs_fill_super(struct super_block *sb,
.statfs = simple_statfs,
.delete_inode = spufs_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_blocksize = PAGE_CACHE_SIZE;
sb->s_blocksize_bits = PAGE_CACHE_SHIFT;

--