Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) Version 0.92 (2002-03-29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) * Minor cleanup. Ran Lindent on the sources.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) Version 0.92 (2002-03-27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) * Fixed module makefile problem. It was not compiling all the correct 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8)     source files!
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) * Removed duplicated function definition
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) * Fixed potential null pointer dereference when reporting an error
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) Version 0.91 (2002-03-26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) * Oy! Fixed stupid bug that would cause an unresolved symbol error.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 	Thanks to Laszlo Boszormenyi for pointing this out to me.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) Version 0.9 (2002-03-14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) * Added Sergey S. Kostyliov's patch to eliminate memcpy() overhead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	from b+tree operations. Changes the befs_read_datastream() interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) * Segregated the functions that interface directly with the linux  vfs 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 	interface into their own file called linuxvfs.c. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) Version 0.64 (2002-02-07)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) * Did the string comparison really right this time (btree.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) * Fixed up some places where I assumed that a long int could hold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	a pointer value. (btree.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) * Andrew Farnham <andrewfarnham@uq.net.au> pointed out that the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	wouldn't work on older (<2.4.10) kernels due to an unresolved symbol.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 	This is bad, since 2.4.9 is still the current RedHat kernel. I added
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	a workaround for this problem (compatibility.h) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) * Sergey S. Kostyliov made befs_find_key() use a binary search to find 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	keys within btree nodes, rather than the linear search we were using 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	before. (btree.c) [Sergey S. Kostyliov <rathamahata@php4.ru>]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) * Made a debian package of the source for use with kernel-package. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) Version 0.63 (2002-01-31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) * Fixed bug in befs_find_brun_indirect() that would result in the wrong
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	block being read. It was introduced when adding byteswapping in 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 	0.61. (datastream.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) * Fixed a longstanding bug in befs_find_key() that would result in it 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	finding the first key that is a substring of the string it is searching
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 	for. For example, this would cause files in the same directory with 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	names like file1 and file2 to mysteriously be duplicates of each other 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	(because they have the same inode number). Many thanks to Pavel Roskin 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 	for reporting this serious bug!!!
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	(btree.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) * Added support for long symlinks, after Axel Dorfler explained up how 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	they work. I had forgotten all about them. (inode.c, symlink.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) * Documentation improvements in source. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) * Makefile fix for independent module when CONFIG_MODVERSION is set in 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 	kernel config [Pavel Roskin <proski@gnu.org>]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) * Compile warning fix for namei.c. [Sergey S. Kostyliov <rathamahata@php4.ru>]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) Version 0.62
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) * Fixed makefile for module install [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) Version 0.61 (2002-01-20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) * Made functions in endian.h to do the correct byteswapping, no matter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	the arch. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) * Abbandoned silly checks for a NULL superblock pointer in debug.c. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) * Misc code cleanups. Also cleanup of this changelog file. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) * Added byteswapping to all metadata reads from disk.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	Uses the functions from endian.h [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) * Remove the typedef of struct super_block to vfs_sb, as it offended
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 	certain peoples' aesthetic sense. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) * Ditto with the befs_read_block() interface. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90)  
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) Version 0.6 (2001-12-15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) * Cleanup of NLS functions (util.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) * Make directory lookup/read use the NLS if an iocharset is provided. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) * Fixed stupid bug where specifying the uid or gid mount options as '0' 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	would result in the filesystem using the on-disk uid and gid. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) * Added mount option to control debug printing. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 	The option is, simply enough, 'debug'. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	(super.c, debug.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) * Removed notion of btree handle from btree.c. It was unnecessary, as the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	linux VFS doesn't allow us to keep any state between calls. Updated 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	dir.c, namei.c befs_fs.h to account for it. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) * Improved handleing of overflow nodes when listing directories. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	Now works for overflow nodes hanging off of nodes other than the root 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	node. This is the cleaner solution to Brent Miszalaski's problem. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) * Added new debug/warning/error print functions in debug.c. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 	More flexible. Will soon be controllable at mount time 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	(see TODO). [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) * Rewrote datastream position lookups.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 	(datastream.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) * Moved the TODO list to its own file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) Version 0.50 (2001-11-13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) * Added workaround for mis-understanding of the nature of the b+trees used 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	in directories. A cleaner solution will come after I've thought about it 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 	for a while. Thanks to Brent Miszalaski for finding and reporting this bug. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 	(btree.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) * Minor cleanups
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) * Added test for "impossible" condition of empty internal nodes in 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 	seekleaf() in btree.c [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) * Implemented the abstracted read_block() in io.c [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) * Cleaned up the inode validation in inode.c [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) * Anton Altaparmakov figured out (by asking Linus :) ) what was causing the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140)  	hanging disk io problem. It turns out you need to have the sync_pages 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	callback defined in your address_space_ops, even if it just uses the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	default linux-supplied implementation. Fixed. Works now.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 	(file.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) * Anton Altaparmakov and Christoph Hellwig alerted me to the fact that 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	filesystem code should be using GFP_NOFS instead of GFP_KERNEL as the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 	priority parameter to kmalloc(). Fixed. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 	(datastream.c, btree.c super.c inode.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) * Anton also told me that the blocksize is not allowed to be larger than 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 	the page size in linux, which is 4k i386. Oops. Added a test for 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	(blocksize > PAGE_SIZE), and refuse to mount in that case. What this 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 	practically means is that 8k blocksize volumes won't work without a major
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 	restructuring of the driver (or an alpha or other 64bit hardware). [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) * Cleaned up the befs_count_blocks() function. Much smarter now. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 	And somewhat smaller too. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) * Made inode allocations use a slab cache 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 	(super.c inode.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) * Moved the freeing of the private inode section from put_inode() to 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 	clear_inode(). This fixes a potential free twice type bug. Put_inode() 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 	can be called multiple times for each inode struct. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) * Converted all non vfs-callback functions to use befs_sb_info as the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 	superblock type, rather than struct super_block. This is for 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	portablity. [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) * Fixed a couple of compile warnings due to use of malloc.h, when slab.h 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 	is the new way. (inode.c, super.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) * Fixed erronous includes of linux/befs_fs_i.h and linux/befs_fs_sb.h 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 	in inode.c [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) Version 0.45 (2001-10-29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) * Added functions to get the private superblock and inode structures from 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	their enclosing public structures. Switched all references to the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 	private portions to use them. (many files) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) * Made read_super and read_inode allocate the private portions of those 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 	structures into the generic pointer fields of the public structures 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) 	with kmalloc(). put_super and put_inode free them. This allows us not 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 	to have to touch the definitions of the public structures in 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 	include/linux/fs.h. Also, befs_inode_info is huge (because of the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 	symlink string). (super.c, inode.c, befs_fs.h) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) * Fixed a thinko that was corrupting file reads after the first block_run 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 	is done being read. (datastream.c) [WD]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) * Removed fsync() hooks, since a read-only filesystem doesn't need them. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	[Christoph Hellwig].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) * Fixed befs_readlink() (symlink.c) [Christoph Hellwig].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) * Removed all the Read-Write stuff. I'll redo it when it is time to add 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	write support (various files) [WD].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) * Removed prototypes for functions who's definitions have been removed 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 	(befs_fs.h) [WD].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) Version 0.4 (2001-10-28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) * Made it an option to use the old non-pagecache befs_file_read() for 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 	testing purposes. (fs/Config.in)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) * Fixed unused variable warnings when compiling without debugging.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) * Fixed a bug where the inode and super_block didn't get their blockbits 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 	fields set (inode.c and super.c). 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) * Release patch version 11. AKA befs-driver version 0.4.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) * Thats right. New versioning scheme. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 	I've done some serious testing on it now (on my box anyhow), and it 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 	seems stable and not outragously slow. Existing features are more-or-less 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 	correct (see TODO list). But it isn't 1.0 yet. I think 0.4 gives me some 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 	headroom before the big 1.0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 2001-10-26
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) * Fixed date format in this file. Was I smoking crack?
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) * Removed old datastream code from file.c, since it is nolonger used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) * Generic_read_file() is now used to read regular file data. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 	It doesn't chew up the buffer cache (it does page io instead), and seems 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 	to be about as fast (even though it has to look up each file block 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 	indivdualy). And it knows about doing readahead, which is a major plus. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) 	So it does i/o in much larger chunks. It is the correct linux way. It 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) 	uses befs_get_block() by way of befs_readpage() to find the disk offsets 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) 	of blocks, which in turn calls befs_fpos2brun() in datastream.c to do 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) 	the hard work of finding the disk block number.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) * Changed method of checking for a dirty filesystem in befs_read_super 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) 	(super.c). Now we check to see if log_start and log_end differ. If so, 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) 	the journal needs to be replayed, and the filesystem cannot be mounted.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) * Fixed an extra instance of MOD_DEC_USE_COUNT in super.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) * Fixed a problem with reading the superblock on devices with large sector 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) 	sizes (such as cdroms) on linux 2.4.10 and up.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) 2001-10-24
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) * Fix nasty bug in converting block numbers to struct befs_inode_addr. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) 	Subtle, because the old version was only sometimes wrong. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) 	Probably responsible for lots of problems. (inode.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) * Fix bug with reading an empty directory. (btree.c and dir.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) * This one looks good. Release patch version 10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) 2001-10-23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) * Added btree searching function.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) * Use befs_btree_find in befs_lookup (namei.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) * Additional comments in btree.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) 2001-10-22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) * Added B+tree reading functions (in btree.c). 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) 	Made befs_readdir() use them them instead of the cruft in index.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) 2001-09-11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) * Converted befs_read_file() to use the new datastream code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) * Finally updated the README file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) * Added many comments.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) * Posted version 6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) * Removed byte-order conversion code. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) 	I have no intention of supporting it, and it was very ugly. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) 	Flow control with #ifdef (ugh). Maybe I'll redo it once 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) 	native byteorder works 100%.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) 2001-09-10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) * Finished implementing read_datastream()
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) * made befs_read_brun() more general
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) 	Supports an offset to start at and a max bytes to read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) 	Added a wrapper function to give the old call
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) 2001-09-30
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) * Discovered that the datastream handleing code in file.c is quite deficient 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) 	in several respects. For one thing, it doesn't deal with indirect blocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) * Rewrote datastream handleing.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) * Created io.c, for io related functions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) 	Previously, the befs_bread() funtions lived in file.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) 	Created the befs_read_brun() function.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) 2001-09-07
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) * Made a function to actually count the number of fs blocks used by a file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) 	And helper functions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) 	(fs/befs/inode.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) 2001-09-05
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) * Fixed a misunderstanding of the inode fields. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) 	This fixed the problmem with wrong file sizes from du and others.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) 	The i_blocks field of the inode struct is not the number of blocks for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) 	inode, it is the number of blocks for the file.	Also, i_blksize is not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) 	necessarily the size of the inode, although in  practice it works out.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) 	Changed to blocksize of filesystem.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) 	(fs/befs/inode.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) * Permanently removed code that had been provisionally ifdefed out of befs_fs.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) * Since we don't support access time, make that field zero, instead of 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) 	copying m_time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) 	(fs/befs/inode.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) * Added sanity check for inode reading
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) 	Make sure inode we got was the one we asked for. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) 	(fs/befs/inode.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) * Code cleanup
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) 	Local pointers to commonly used structures in inode.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) 	Got rid of abominations befs_iaddr2inode() and befs_inode2ino(). 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) 	Replaced with single function iaddr2blockno().
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) 	(fs/befs/super.c) (fs/befs/inode.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) 2001-09-01
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) * Fixed the problem with statfs where it would always claim the disk was 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) 	half full, due to improper understanding of the statfs fields.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341) 	(fs/befs/super.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) * Posted verion 4 of the patch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) 2001-09-01
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) * Changed the macros in befs_fs.h to inline functions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) 	More readable. Typesafe. Better
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) 	(include/linux/befs_fs.h)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) * Moved type definitions from befs_fs.h to a new file, befs_fs_types.h 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) 	Because befs_fs_i.h and befs_fs_sb.h were including befs_fs.h for the 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) 	typedefs, and they are inlcuded in <linux/fs.h>, which has definitions 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) 	that I want the inline functions in befs_fs.h to be able to see. Nasty
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) 	circularity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) 	(include/linux/befs_fs.h)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) 2001-08-30
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) * Cleaned up some wording.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) * Added additional consitency checks on mount
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) 	Check block_size agrees with block_shift
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) 	Check flags == BEFS_CLEAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) 	(fs/befs/super.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) * Tell the kernel to only mount befs read-only. 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) 	By setting the SB_RDONLY flag in befs_read_super().
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) 	Not that it was possible to write before. But now the kernel won't even try.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) 	(fs/befs/super.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372) * Got rid of kernel warning on mount.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) 	The kernel doesn't like it if you call set_blocksize() on a device when 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) 	you have some of its blocks open. Moved the second set_blocksize() to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) 	very end of befs_read_super(), after we are done with the disk superblock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) 	(fs/befs/super.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) 	
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) * Fixed wrong number of args bug in befs_dump_inode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) 	(fs/befs/debug.c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) * Solved lots of type mismatches in kprint()s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) 	(everwhere)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) 2001-08-27
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) * Cleaned up the fs/Config.in entries a bit, now slightly more descriptive.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) * BeFS depends on NLS, so I made activating BeFS enable the NLS questions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) 	(fs/nls/Config.in)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) * Added Configure.help entries for CONFIG_BEFS_FS and CONFIG_DEBUG_BEFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) 	(currently at fs/befs/Kconfig)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) 2001-08-??
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) * Removed superblock locking calls in befs_read_super(). In 2.4, the VFS 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) 	hands us a super_block struct that is already locked.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) 2001-08-13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) * Will Dyson <will_dyson@pobox.com> is now attempting to maintain this module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) 	Makoto Kato <m_kato@ga2.so-net.ne.jp> is original author.Daniel Berlin 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) 	also did some work on it (fixing it up for the later 2.3.x kernels, IIRC).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) * Fixed compile errors on 2.4.1 kernel (WD)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) 	Resolve rejected patches
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) 	Accommodate changed NLS interface (util.h)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) 	Needed to include <linux/slab.h> in most files
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) 	Makefile changes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) 	fs/Config.in changes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) * Tried to niceify the code using the ext2 fs as a guide
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) 	Declare befs_fs_type using the DECLARE_FSTYPE_DEV() macro
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) * Made it a configure option to turn on debugging (fs/Config.in)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417) * Compiles on 2.4.7