Re: pre-patch2.1.45-3 lookin' good

Michael Harnois (mharnois@sbt.net)
13 Jul 1997 00:28:36 -0500


Is this part of the patch correct? Everywhere else that inode->i_dirt
= 0 appears, it is removed, not replaced with mark_inode_dirty(inode).

diff -u --recursive --new-file v2.1.44/linux/fs/ext2/ialloc.c linux/fs/ext2/iall
oc.c
--- v2.1.44/linux/fs/ext2/ialloc.c Mon Jun 16 16:35:57 1997
+++ linux/fs/ext2/ialloc.c Tue Jul 8 16:06:41 1997
@@ -216,7 +216,7 @@
es->s_free_inodes_count =
cpu_to_le32(le32_to_cpu(es->s_free_inodes_count) + 1);
mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1);
- inode->i_dirt = 0;
+ mark_inode_dirty(inode);