patch-2.1.132 linux/fs/ext2/file.c

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

diff -u --recursive --new-file v2.1.131/linux/fs/ext2/file.c linux/fs/ext2/file.c
@@ -272,10 +272,6 @@
 		mark_buffer_uptodate(bh, 1);
 		mark_buffer_dirty(bh, 0);
 
-		/* Mark the buffer untouched if we'll move on to the next one.. */
-		if (!(pos & (sb->s_blocksize-1)))
-			clear_bit(BH_Touched, &bh->b_state);
-
 		if (filp->f_flags & O_SYNC)
 			bufferlist[buffercount++] = bh;
 		else

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