patch-2.1.129 linux/fs/hfs/mdb.c
Next file: linux/fs/ioctl.c
Previous file: linux/fs/hfs/file_hdr.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Sun Nov 15 11:11:44 1998
-  Orig file: 
v2.1.128/linux/fs/hfs/mdb.c
-  Orig date: 
Sun Nov  8 14:03:06 1998
diff -u --recursive --new-file v2.1.128/linux/fs/hfs/mdb.c linux/fs/hfs/mdb.c
@@ -260,6 +260,9 @@
 	hfs_put_hl(mdb->file_count,    raw->drFilCnt);
 	hfs_put_hl(mdb->dir_count,     raw->drDirCnt);
 
+	/* write MDB to disk */
+	hfs_buffer_dirty(mdb->buf);
+
        	/* write the backup MDB, not returning until it is written. 
          * we only do this when either the catalog or extents overflow
          * files grow. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov