patch-2.3.51 linux/fs/bfs/dir.c

Next file: linux/fs/bfs/file.c
Previous file: linux/fs/autofs4/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/fs/bfs/dir.c linux/fs/bfs/dir.c
@@ -182,7 +182,7 @@
 	}
 	de->ino = 0;
 	dir->i_version = ++event;
-	mark_buffer_dirty(bh, 1);
+	mark_buffer_dirty(bh, 0);
 	dir->i_ctime = dir->i_mtime = CURRENT_TIME;
 	mark_inode_dirty(dir);
 	inode->i_nlink--;
@@ -242,7 +242,7 @@
 		new_inode->i_ctime = CURRENT_TIME;
 		mark_inode_dirty(new_inode);
 	}
-	mark_buffer_dirty(old_bh, 1);
+	mark_buffer_dirty(old_bh, 0);
 	error = 0;
 
 end_rename:
@@ -294,7 +294,7 @@
 				de->ino = ino;
 				for (i=0; i<BFS_NAMELEN; i++)
 					de->name[i] = (i < namelen) ? name[i] : 0;
-				mark_buffer_dirty(bh, 1);
+				mark_buffer_dirty(bh, 0);
 				brelse(bh);
 				return 0;
 			}

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