[patch 23/26] mount options: fix spufs

From: Miklos Szeredi
Date: Thu Jan 24 2008 - 14:41:29 EST


From: Miklos Szeredi <mszeredi@xxxxxxx>

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@xxxxxxx>
---

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;

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/