patch-2.4.0-test3 linux/fs/ext2/inode.c

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

diff -u --recursive --new-file v2.4.0-test2/linux/fs/ext2/inode.c linux/fs/ext2/inode.c
@@ -62,8 +62,8 @@
 	unlock_kernel();
 	return;
 no_delete:
-	clear_inode(inode);	/* We must guarantee clearing of inode... */
 	unlock_kernel();
+	clear_inode(inode);	/* We must guarantee clearing of inode... */
 }
 
 #define inode_bmap(inode, nr) (le32_to_cpu((inode)->u.ext2_i.i_data[(nr)]))
@@ -904,7 +904,7 @@
 	return err;
 }
 
-void ext2_write_inode (struct inode * inode)
+void ext2_write_inode (struct inode * inode, int wait)
 {
 	lock_kernel();
 	ext2_update_inode (inode, 0);

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