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

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

diff -u --recursive --new-file v2.3.47/linux/fs/ufs/file.c linux/fs/ufs/file.c
@@ -71,7 +71,7 @@
  * We have mostly NULL's here: the current defaults are ok for
  * the ufs filesystem.
  */
-static struct file_operations ufs_file_operations = {
+struct file_operations ufs_file_operations = {
 	llseek:		ufs_file_lseek,
 	read:		generic_file_read,
 	write:		generic_file_write,
@@ -79,6 +79,5 @@
 };
 
 struct inode_operations ufs_file_inode_operations = {
-	&ufs_file_operations,
 	truncate:	ufs_truncate,
 };

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