patch-2.1.79 linux/fs/hfs/file_cap.c

Next file: linux/fs/hfs/file_hdr.c
Previous file: linux/fs/hfs/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/fs/hfs/file_cap.c linux/fs/hfs/file_cap.c
@@ -241,7 +241,7 @@
 		/* Update finder attributes if changed */
 		if (OVERLAPS(pos, end, struct hfs_cap_info, fi_fndr)) {
 			memcpy(&entry->info, meta.fi_fndr, 32);
-			entry->dirt = 1;
+			hfs_cat_mark_dirty(entry);
 		}
 
 		/* Update file flags if changed */
@@ -259,7 +259,7 @@
 
 			if (new_flags != entry->u.file.flags) {
 				entry->u.file.flags = new_flags;
-				entry->dirt = 1;
+				hfs_cat_mark_dirty(entry);
 				hfs_file_fix_mode(entry);
 			}
 		}
@@ -268,14 +268,14 @@
 		if (OVERLAPS(pos, end, struct hfs_cap_info, fi_ctime)) {
 			entry->create_date =
 				hfs_h_to_mtime(hfs_get_nl(meta.fi_ctime));
-			entry->dirt = 1;
+			hfs_cat_mark_dirty(entry);
 		}
 
 		/* Update MdDat if changed */
 		if (OVERLAPS(pos, end, struct hfs_cap_info, fi_mtime)) {
 			entry->modify_date =
 				hfs_h_to_mtime(hfs_get_nl(meta.fi_mtime));
-			entry->dirt = 1;
+			hfs_cat_mark_dirty(entry);
 		}
 	}
 

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