📄 changelog
字号:
Fri Sep 6 09:17:12 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * hfs_fs_sb.h, super.c: No need to cast type of s_reserved. * file_dbl.c, file_nat.c, dir_dbl.c, dir_nat.c, file_cap.c, dir_cap.c: Add the missing NULL readpage and writepage entries to the inode_ops. * file_dbl.c, file_nat.c, file.c, file_cap.c: Cleanup error checking for read() and write().Thu Sep 5 05:29:53 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version up to "0.7.2". User-visible changes from 0.7.0: + Corrected CAP finderinfo file format. + Support for more features of CAP finderinfo files. + No longer requires gcc 2.7.0 or newer. + Now implements mknod() system call. * hfs_fs.h, dir_nat.c, file_cap.c, file_nat.c, README.sgml, dir_cap.c: Include the CAP and Netatalk copyright notices. * hfs_fs.h, file_cap.c: Repair and improve CAP support. * catalog.c: Oops! The BkDat for new files and directories was in 1972 when it should have been in 1904 (not that it matters that much). * inode.c: The HFS MdDat should be the larger of the i_mtime and i_ctime. * README.sgml: Change 'm_time' to 'i_mtime'.Wed Sep 4 13:27:35 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version up to "0.7.1". User-visible changes from 0.7.0: + Minor bug in CAP finderinfo file format fixed. + No longer requires gcc 2.7.0 or newer. + Now implements mknod() system call. * README.sgml: Removed note about needing gcc 2.7.0 or newer. * file.c: Optimize hfs_do_read() based on the fact that HFS has no holes in files. Minor code formatting changes. * hfs.h, hfs_sysdep.h, mdb.c, extent.c, file.c, btree.c, catalog.c, balloc.c, bnode.c: Reorganize memory management routines. hfs_malloc() and hfs_free() are the main routines. The macros FREE() and MALLOC() are gone. HFS_NEW() and HFS_DELETE() are new 'shorthand' macros. * btree.c: Fix broken debugging code. * super.c, hfs.h, mdb.c, part_tbl.c, Makefile: Separate partition table handling into its own file. * dir.c: Spelling fixes. * sysdep.c: Oops! Error check got sense reversed while editing. * mdb.c, sysdep.c, hfs.h, hfs_btree.h, hfs_sysdep.h, btree.c, extent.c, bfind.c, bnode.c, balloc.c: Make hfs_buffer a pointer to a buffer_head, rather than a buffer_head. * hfs_fs.h, dir_cap.c, dir_dbl.c, dir_nat.c, dir.c: Add a mknod() entry to the inode_operations for normal directories. All it is good for is letting root create regular files. * file_dbl.c, file_nat.c, file.c, file_cap.c, dir_cap.c, dir_dbl.c, dir_nat.c: Add the missing NULL entries to the end of the file_operations. * super.c, hfs_btree.h, hfs_fs.h, mdb.c, extent.c, hfs.h, catalog.c: Make the remainder of the (untested) changes to allow compilation with gcc 2.6.3. * hfs_fs.h: Fix hfs_fs.h to work with gcc 2.6.3. * hfs_fs.h: (struct hfs_cap_info) should never have been 'packed'. * BUG_INFO: Use -V for getting version of module utilities. * super.c, sysdep.c, trans.c, hfs_fs_sb.h, inode.c, hfs_fs.h, hfs_fs_i.h, file_cap.c, file_dbl.c, file_nat.c, dir_dbl.c, dir_nat.c, file.c, dir.c, dir_cap.c: Fix up hfs_fs{,_i,_sb}.h in preparation for inclusion in kernel.Tue Sep 3 23:58:03 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * hfs.h: Change eventual destination to linux/fs/hfs rather than include/linux. * super.c, inode.c, mdb.c, hfs_btree.h, hfs_fs.h, hfs_sysdep.h, file_dbl.c, file_nat.c, hfs.h, dir_nat.c, extent.c, dir_dbl.c, catalog.c, dir_cap.c, brec.c, btree.c, binsert.c, bnode.c, bdelete.c, bfind.c, bins_del.c, balloc.c: Replace all the swap{16,32}() stuff w/ ntohl() and friends.Fri Aug 30 09:51:23 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Rewrite installation instructions and bump version up to "0.7.0". * Makefile: Remove the INCDIR variable; we now rely on the user to have the correct links in /usr/include.Mon Aug 26 12:25:41 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Reformat the documentation and bump version up to "pre-0.7-9". Hopefully this will become version 0.7 in a few days.Thu Aug 22 08:00:44 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * README.sgml, version.c: Bump version up to "pre-0.7-8". * file_nat.c, file_dbl.c: AppleDouble headers had resource fork size in wrong byte order.Wed Aug 21 05:22:28 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version up to "pre-0.7-7". * bnode.c: Fixed a long-standing bug in hfs_bnode_lock(). This bug occasionally caused lock-up under heavy load.Tue Aug 20 09:15:10 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * README.sgml, version.c: Bump version up to "pre-0.7-6". * catalog.c: Fix a deadlock problem in catalog readers/writers locking. * bins_del.c: hfs_bnode_update_key() was still corrupting the header node sometimes. * catalog.c, dir.c: Fix problem with extending the catalog B-tree hanging hfs_cat_commit(). Fix a race that could delete a non-empty directory.Sun Aug 18 23:16:43 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version to "pre-0.7-5" for test release. * dir_cap.c, README.sgml: Change ".:rootinfo:" to ".rootinfo". * hfs_fs.h, dir_cap.c, dir_dbl.c, dir_nat.c: Mangle the names as first step in hfs_{cap,dbl,nat}_lookup(). Use the new hfs_streq() to catch mixed case matches to the special files and directories in hfs_{cap,dbl,nat}_lookup(). Store reserved names only once. * dir.c, hfs.h, string.c: Implement hfs_streq() which tests for string equality more rapidly than hfs_strcmp() by checking for equal length first, and use it when checking for reserved names. * inode.c, TODO, dir_cap.c, dir_dbl.c, README.sgml: Provide the metadata for the root directory for the CAP and AppleDouble schemes in the files ".:rootinfo:" and "%RootInfo", respectively. * TODO, super.c: Add (untested) support for the old Mac Plus style of partition map. * bdelete.c, TODO: Note the possibility of bdelete() to hanging on a corrupted B-tree. * TODO: Add items corresponding to some of the 'XXX' comments in the sources. * dir_dbl.c, dir_cap.c: Update comments, removing ref. to a comment that once existed in inode.c * catalog.c: Remove some redundant locking and error checks that had been previously marked as questionable.Sat Aug 17 08:06:56 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * binsert.c, bfind.c, bins_del.c, balloc.c, bdelete.c: Edited some comments for correctness. * README.sgml, version.c: Bump version up to "pre-0.7-4" in preparation for snapshot release. * Makefile: Have 'make dep' delete the *.o and *.s files. * catalog.c, hfs.h, TODO, bfind.c: Move looping from hfs_cat_next() into hfs_bsucc(), where it can be done an entire node at a time.Fri Aug 16 05:02:59 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * TODO: Add AppleShare support to the list of goals. * trans.c, super.c, hfs_fs.h, README.sgml: Add a "names=netatalk" mount option, since Netatalk quotes initial periods and CAP doesn't. * Makefile: Oops! Had removed the 'include .depend' from Makefile. * inode.c, hfs_fs.h, file_nat.c, file_dbl.c, file.c, dir_nat.c, dir_dbl.c, dir_cap.c, dir.c, README.sgml: Update for 2.0.1 and newer kernels. * Makefile: Get rid of ifeq stuff and use a .tmpdepend file to make sure a failed 'make depend' doesn't allow a 'make hfs.o'.Wed Aug 14 01:03:01 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version up to "pre-0.7-3" in preparation for snapshot release. * btree.c, extent.c, bnode.c: Fix up some debugging code.Tue Aug 13 12:42:12 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump revision to "pre-0.7-2". * super.c, sysdep.c, mdb.c, file_nat.c, inode.c, file_cap.c, file_dbl.c, file.c, extent.c, dir.c, catalog.c, btree.c, bnode.c, balloc.c: Added the remaining missing function comments. * Makefile, README.sgml: Simplify the default make rule to build the dependency file AND hfs.o. Change the installation instructions to reflect the change. * hfs.h: Added missing structure comments. * bdelete.c: Merge bdelete_brec() back into hfs_bdelete(). Add missing function comments. * extent.c: Insignificant code change removing an unneeded indirection. * btree.c, hfs_btree.h, balloc.c, bnode.c: Add a 'sys_mdb' field to (struct hfs_btree). * extent.c, hfs_sysdep.h, sysdep.c, bnode.c, balloc.c, bfind.c, Makefile: Move hfs_buffer_read() from hfs_sysdep.h to sysdep.c so it can use the symbol HFS_SECTOR_SIZE rather than the manifest constant 512. Have hfs_buffer_read() print an error message, and remove redundant errors from the callers. * hfs_sysdep.h, mdb.c, super.c, file.c, hfs.h, hfs_btree.h, catalog.c, extent.c, btree.c, balloc.c, bfind.c, bnode.c: Get rid of the type hfs_device and the fields of that type, using the type hfs_sysmdb and the 'sys_mdb' field in its place. * Makefile: Fix definition of HDRS variable. * README.sgml, version.c: Bump version up to "pre-0.7-1". * Makefile: Separate sources and headers into three groups: B-tree code, HFS code and Linux code. * bitmap.c, bitops.c, hfs.h, hfs_sysdep.h, balloc.c: Implemented portable set of bit operations in hfs_sysdep.h * mdb.c, hfs_sysdep.h, hfs_btree.h, extent.c, btree.c, bitmap.c, bnode.c, balloc.c: Implement a portable set of buffer operations in hfs_sysdep.h * TODO: Remove note about separating header files into two parts. * catalog.c: Remove call to hfs_mdb_dirty(), since the hfs_brec_relse() does it. * hfs.h, extent.c, file.c: Move hfs_getblk() from extent.c to file.c, since that is now the only file that actually uses it. * balloc.c: Replace use of hfs_getblk() in balloc.c with a local function (get_new_node()) that doesn't retry, since B-trees can't shrink. * hfs.h, hfs_btree.h, hfs_sysdep.h, mdb.c, extent.c: Make hfs_buffer a typedef. * inode.c, hfs.h, hfs_sysdep.h, dir.c: Change hfs_sysentry to a typedef. Rename 'sysentry' field of (struct hfs_cat_entry) to 'sys_entry'. * super.c, mdb.c, catalog.c: Rename hfs_cat_sync() to hfs_cat_commit() and call it from hfs_mdb_commit() rather than from hfs_write_super(). * catalog.c, file.c: Minimize the calls to hfs_mdb_dirty(). Now called when: 1) A buffer holding a volume bitmap block is dirtied. 2) A dirty B-tree node is written back to the buffers. 3) A dirty catalog entry is written back to the buffers. * hfs_sysdep.h, hfs.h: Make hfs_sysmdb a typedef.Sun Aug 11 08:46:10 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * hfs_sysdep.h, extent.c, hfs.h: Replace hfs_mdb_{lock,unlock} with more portable scheme using a wait queue in the MDB. * hfs.h, hfs_btree.h, hfs_sysdep.h, bnode.c, catalog.c, binsert.c: Make hfs_wait_queue a typedef'd pointer to a (struct wait_queue). Rename hfs_wait_on() to hfs_sleep_on(). * catalog.c, hfs_sysdep.h, super.c, bfind.c, bnode.c, balloc.c: Implemented hfs_dev_name() in hfs_sysdep.h as a portable call to produce a device name. * super.c, hfs.h, mdb.c: Rename hfs_mdb_read() to hfs_mdb_get(), and don't take a 'sys_mdb' argument. That's the callers responsibility. * sysdep.c, Makefile: Remove the pointless file sysdep.c * README.sgml: Clean up the "System Requirements" section.Sat Aug 10 22:41:24 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * sysdep.h, sysdep.c, super.c, hfs_sysdep.h, mdb.c, string.c, hfs_fs.h, hfs_fs_i.h, hfs_fs_sb.h, hfs_btree_private.h, hfs_btree.h, file_cap.c, file_dbl.c, file_nat.c, hfs.h, file.c, dir_nat.c, extent.c, dir.c, dir_cap.c, dir_dbl.c, catalog.c, bnode.c, brec.c, btree.c, binsert.c, bitmap.c, bitops.c, bfind.c, bins_del.c, Makefile, balloc.c, bdelete.c: Includes the hfs.h that was missing from the previous check in. MAJOR include-file cleanup: hfs_btree.h merged into hfs.h hfs_btree_private.h renamed hfs_btree.h sysdep.h renamed hfs_sysdep.h Fixed some minor portability fixes shown up by the header split. * README.sgml: Add instructions for a dealing with a missing linux/version.h * hfs_fs.h, mdb.c, string.c, catalog.c, extent.c, btree.c, bitmap.c, bitops.c, bnode.c, brec.c, bins_del.c, binsert.c, bdelete.c, bfind.c, balloc.c: Major split of hfs_fs.h into Linux-specific part (hfs_fs.h) and HFS-specific part (hfs.h). * file.c, extent.c: Move hfs_getblk() from file.c to extent.c * sysdep.h, super.c, mdb.c, hfs_fs_sb.h, hfs_fs.h, file.c, extent.c, catalog.c, bnode.c, bitmap.c: Make the field 's_mdb' in (struct hfs_sb_info) a pointer to the MDB, rather than the actual MDB. This allowed the definition of (struct hfs_mdb) to be moved from hfs_fs_sb.h to hfs_fs.h. * ccache.c, hfs_fs.h, Makefile, catalog.c: Merged ccache.c and catalog.c into the latter. Moved definition of (struct hfs_cat_rec) into catalog.c * extent.c:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -