patch-2.3.48 linux/fs/hfs/super.c

Next file: linux/fs/hpfs/dir.c
Previous file: linux/fs/hfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/fs/hfs/super.c linux/fs/hfs/super.c
@@ -42,15 +42,11 @@
 /*================ Global variables ================*/
 
 static struct super_operations hfs_super_operations = { 
-	hfs_read_inode,		/* read_inode */
-	NULL,			/* write_inode */
-	hfs_put_inode,		/* put_inode     - in inode.c */
-	NULL,                   /* delete_inode  */
-	hfs_notify_change,	/* notify_change - in inode.c */
-	hfs_put_super,		/* put_super */
-	hfs_write_super,	/* write_super */
-	hfs_statfs,		/* statfs */
-	NULL			/* remount_fs */
+	read_inode:	hfs_read_inode,
+	put_inode:	hfs_put_inode,
+	put_super:	hfs_put_super,
+	write_super:	hfs_write_super,
+	statfs:		hfs_statfs,
 };
 
 /*================ File-local variables ================*/
@@ -72,7 +68,6 @@
 static void hfs_read_inode(struct inode *inode)
 {
   inode->i_mode = 0;
-  inode->i_op = NULL;
 }
 
 /*

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