patch-2.1.51 linux/fs/affs/file.c

Next file: linux/fs/affs/inode.c
Previous file: linux/fs/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/fs/affs/file.c linux/fs/affs/file.c
@@ -629,7 +629,7 @@
 		inode->i_size = pos;
 	inode->i_mtime = inode->i_ctime = CURRENT_TIME;
 	filp->f_pos    = pos;
-	inode->i_dirt  = 1;
+	mark_inode_dirty(inode);
 	iput(ino);
 	return written;
 }
@@ -717,7 +717,7 @@
 		inode->i_size = pos;
 	filp->f_pos = pos;
 	inode->i_mtime = inode->i_ctime = CURRENT_TIME;
-	inode->i_dirt  = 1;
+	mark_inode_dirty(inode);
 	iput(ino);
 	return written;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov