patch-2.3.48 linux/fs/ext2/file.c

Next file: linux/fs/ext2/ialloc.c
Previous file: linux/fs/ext2/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/fs/ext2/file.c linux/fs/ext2/file.c
@@ -95,7 +95,7 @@
  * We have mostly NULL's here: the current defaults are ok for
  * the ext2 filesystem.
  */
-static struct file_operations ext2_file_operations = {
+struct file_operations ext2_file_operations = {
 	llseek:		ext2_file_lseek,
 	read:		generic_file_read,
 	write:		generic_file_write,
@@ -107,6 +107,5 @@
 };
 
 struct inode_operations ext2_file_inode_operations = {
-	&ext2_file_operations,
 	truncate:	ext2_truncate,
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)