patch-2.4.0-test8 linux/fs/affs/amigaffs.c

Next file: linux/fs/affs/bitmap.c
Previous file: linux/fs/adfs/dir_f.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/linux/fs/affs/amigaffs.c linux/fs/affs/amigaffs.c
@@ -79,7 +79,7 @@
 	DIR_END(file->b_data,inode)->hash_chain = cpu_to_be32(next);
 	((s32 *)bh->b_data)[offset]             = cpu_to_be32(ino);
 	affs_fix_checksum(AFFS_I2BSIZE(inode),bh->b_data,5);
-	mark_buffer_dirty(bh,1);
+	mark_buffer_dirty(bh);
 	affs_brelse(bh);
 
 	return 0;
@@ -130,7 +130,7 @@
 		if (ownkey == key) {
 			((s32 *)bh->b_data)[offset] = FILE_END(dbh->b_data,inode)->hash_chain;
 			affs_fix_checksum(AFFS_I2BSIZE(inode),bh->b_data,5);
-			mark_buffer_dirty(bh,1);
+			mark_buffer_dirty(bh);
 			affs_brelse(bh);
 			retval = 0;
 			break;
@@ -178,7 +178,7 @@
 			FILE_END(bh->b_data,inode)->link_chain =
 						FILE_END(dbh->b_data,inode)->link_chain;
 			affs_fix_checksum(AFFS_I2BSIZE(inode),bh->b_data,5);
-			mark_buffer_dirty(bh,1);
+			mark_buffer_dirty(bh);
 			affs_brelse(bh);
 			retval = 0;
 			break;
@@ -261,7 +261,7 @@
 			return error;
 		}
 		affs_fix_checksum(AFFS_I2BSIZE(inode),bh->b_data,5);
-		mark_buffer_dirty(bh,1);
+		mark_buffer_dirty(bh);
 		affs_brelse(link_bh);
 		affs_free_block(inode->i_sb,link_ino);
 		/* Mark the link's parent dir as changed, too. */

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