patch-2.4.0-test8 linux/fs/hpfs/super.c

Next file: linux/fs/jffs/inode-v23.c
Previous file: linux/fs/hpfs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/linux/fs/hpfs/super.c linux/fs/hpfs/super.c
@@ -21,7 +21,7 @@
 		if ((sb = hpfs_map_sector(s, 17, &bh, 0))) {
 			sb->dirty = 1;
 			sb->old_wrote = 0;
-			mark_buffer_dirty(bh, 1);
+			mark_buffer_dirty(bh);
 			brelse(bh);
 		}
 	}
@@ -38,7 +38,7 @@
 	if ((sb = hpfs_map_sector(s, 17, &bh, 0))) {
 		sb->dirty = s->s_hpfs_chkdsk > 1 - s->s_hpfs_was_error;
 		sb->old_wrote = s->s_hpfs_chkdsk >= 2 && !s->s_hpfs_was_error;
-		mark_buffer_dirty(bh, 1);
+		mark_buffer_dirty(bh);
 		brelse(bh);
 	}
 }
@@ -466,7 +466,7 @@
 	if (!(s->s_flags & MS_RDONLY)) {
 		spareblock->dirty = 1;
 		spareblock->old_wrote = 0;
-		mark_buffer_dirty(bh2, 1);
+		mark_buffer_dirty(bh2);
 	}
 
 	if (spareblock->hotfixes_used || spareblock->n_spares_used) {

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