Skip to contentSkip to conversation

spufs: const fops

PATCH New Christoph Hellwig 1 participant 1 message Apr 6, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spufs: const fops

file_operations are const post-2.6.16, fix spufs_new_file to propagate that properly.

arch/powerpc/platforms/cell/spufs/inode.c +1 -1
Index: linux-2.6/arch/powerpc/platforms/cell/spufs/inode.c
===================================================================
@@ -103,7 +103,7 @@
 
 static int
 spufs_new_file(struct super_block *sb, struct dentry *dentry,
-		struct file_operations *fops, int mode,
+		const struct file_operations *fops, int mode,
 		struct spu_context *ctx)
 {
 	static struct inode_operations spufs_file_iops = {