patch-2.3.30 linux/fs/qnx4/inode.c

Next file: linux/fs/qnx4/symlinks.c
Previous file: linux/fs/qnx4/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/fs/qnx4/inode.c linux/fs/qnx4/inode.c
@@ -72,14 +72,6 @@
 	sb->s_dirt = 0;
 }
 
-static void qnx4_put_inode(struct inode *inode)
-{
-	if (inode->i_nlink != 0) {
-		return;
-	}
-	inode->i_size = 0;
-}
-
 static void qnx4_write_inode(struct inode *inode)
 {
 	struct qnx4_inode_entry *raw_inode;
@@ -134,15 +126,13 @@
 #else
 	NULL,
 #endif
+	NULL,			/* put_inode */
 #ifdef CONFIG_QNX4FS_RW
-	qnx4_put_inode,
 	qnx4_delete_inode,
-	NULL,			/* notify_change */
 #else
-	NULL,			/* put_inode */
 	NULL,			/* delete_inode */
-	NULL,			/* notify_change */
 #endif
+	NULL,			/* notify_change */
 	qnx4_put_super,
 #ifdef CONFIG_QNX4FS_RW
 	qnx4_write_super,

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