11da177e4SLinus TorvaldsVersion 0.92 (2002-03-29) 21da177e4SLinus Torvalds========== 31da177e4SLinus Torvalds* Minor cleanup. Ran Lindent on the sources. 41da177e4SLinus Torvalds 51da177e4SLinus TorvaldsVersion 0.92 (2002-03-27) 61da177e4SLinus Torvalds========== 71da177e4SLinus Torvalds* Fixed module makefile problem. It was not compiling all the correct 81da177e4SLinus Torvalds source files! 91da177e4SLinus Torvalds* Removed duplicated function definition 101da177e4SLinus Torvalds* Fixed potential null pointer dereference when reporting an error 111da177e4SLinus Torvalds 121da177e4SLinus TorvaldsVersion 0.91 (2002-03-26) 131da177e4SLinus Torvalds========== 141da177e4SLinus Torvalds* Oy! Fixed stupid bug that would cause an unresolved symbol error. 151da177e4SLinus Torvalds Thanks to Laszlo Boszormenyi for pointing this out to me. 161da177e4SLinus Torvalds 171da177e4SLinus TorvaldsVersion 0.9 (2002-03-14) 181da177e4SLinus Torvalds========== 191da177e4SLinus Torvalds* Added Sergey S. Kostyliov's patch to eliminate memcpy() overhead 201da177e4SLinus Torvalds from b+tree operations. Changes the befs_read_datastream() interface. 211da177e4SLinus Torvalds 221da177e4SLinus Torvalds* Segregated the functions that interface directly with the linux vfs 231da177e4SLinus Torvalds interface into their own file called linuxvfs.c. [WD] 241da177e4SLinus Torvalds 251da177e4SLinus TorvaldsVersion 0.64 (2002-02-07) 261da177e4SLinus Torvalds========== 2725985edcSLucas De Marchi* Did the string comparison really right this time (btree.c) [WD] 281da177e4SLinus Torvalds 291da177e4SLinus Torvalds* Fixed up some places where I assumed that a long int could hold 301da177e4SLinus Torvalds a pointer value. (btree.c) [WD] 311da177e4SLinus Torvalds 321da177e4SLinus Torvalds* Andrew Farnham <andrewfarnham@uq.net.au> pointed out that the module 331da177e4SLinus Torvalds wouldn't work on older (<2.4.10) kernels due to an unresolved symbol. 341da177e4SLinus Torvalds This is bad, since 2.4.9 is still the current RedHat kernel. I added 351da177e4SLinus Torvalds a workaround for this problem (compatibility.h) [WD] 361da177e4SLinus Torvalds 371da177e4SLinus Torvalds* Sergey S. Kostyliov made befs_find_key() use a binary search to find 381da177e4SLinus Torvalds keys within btree nodes, rather than the linear search we were using 391da177e4SLinus Torvalds before. (btree.c) [Sergey S. Kostyliov <rathamahata@php4.ru>] 401da177e4SLinus Torvalds 411da177e4SLinus Torvalds* Made a debian package of the source for use with kernel-package. [WD] 421da177e4SLinus Torvalds 431da177e4SLinus Torvalds 441da177e4SLinus TorvaldsVersion 0.63 (2002-01-31) 451da177e4SLinus Torvalds========== 461da177e4SLinus Torvalds* Fixed bug in befs_find_brun_indirect() that would result in the wrong 471da177e4SLinus Torvalds block being read. It was introduced when adding byteswapping in 481da177e4SLinus Torvalds 0.61. (datastream.c) [WD] 491da177e4SLinus Torvalds 501da177e4SLinus Torvalds* Fixed a longstanding bug in befs_find_key() that would result in it 511da177e4SLinus Torvalds finding the first key that is a substring of the string it is searching 521da177e4SLinus Torvalds for. For example, this would cause files in the same directory with 531da177e4SLinus Torvalds names like file1 and file2 to mysteriously be duplicates of each other 541da177e4SLinus Torvalds (because they have the same inode number). Many thanks to Pavel Roskin 551da177e4SLinus Torvalds for reporting this serious bug!!! 561da177e4SLinus Torvalds (btree.c) [WD] 571da177e4SLinus Torvalds 581da177e4SLinus Torvalds* Added support for long symlinks, after Axel Dorfler explained up how 591da177e4SLinus Torvalds they work. I had forgotten all about them. (inode.c, symlink.c) [WD] 601da177e4SLinus Torvalds 611da177e4SLinus Torvalds* Documentation improvements in source. [WD] 621da177e4SLinus Torvalds 631da177e4SLinus Torvalds* Makefile fix for independent module when CONFIG_MODVERSION is set in 641da177e4SLinus Torvalds kernel config [Pavel Roskin <proski@gnu.org>] 651da177e4SLinus Torvalds 661da177e4SLinus Torvalds* Compile warning fix for namei.c. [Sergey S. Kostyliov <rathamahata@php4.ru>] 671da177e4SLinus Torvalds 681da177e4SLinus Torvalds 691da177e4SLinus TorvaldsVersion 0.62 701da177e4SLinus Torvalds========== 711da177e4SLinus Torvalds* Fixed makefile for module install [WD] 721da177e4SLinus Torvalds 731da177e4SLinus Torvalds 741da177e4SLinus TorvaldsVersion 0.61 (2002-01-20) 751da177e4SLinus Torvalds========== 761da177e4SLinus Torvalds* Made functions in endian.h to do the correct byteswapping, no matter 771da177e4SLinus Torvalds the arch. [WD] 781da177e4SLinus Torvalds 791da177e4SLinus Torvalds* Abbandoned silly checks for a NULL superblock pointer in debug.c. [WD] 801da177e4SLinus Torvalds 811da177e4SLinus Torvalds* Misc code cleanups. Also cleanup of this changelog file. [WD] 821da177e4SLinus Torvalds 831da177e4SLinus Torvalds* Added byteswapping to all metadata reads from disk. 841da177e4SLinus Torvalds Uses the functions from endian.h [WD] 851da177e4SLinus Torvalds 861da177e4SLinus Torvalds* Remove the typedef of struct super_block to vfs_sb, as it offended 871da177e4SLinus Torvalds certain peoples' aesthetic sense. [WD] 881da177e4SLinus Torvalds 891da177e4SLinus Torvalds* Ditto with the befs_read_block() interface. [WD] 901da177e4SLinus Torvalds 911da177e4SLinus Torvalds 921da177e4SLinus TorvaldsVersion 0.6 (2001-12-15) 931da177e4SLinus Torvalds========== 941da177e4SLinus Torvalds* Cleanup of NLS functions (util.c) [WD] 951da177e4SLinus Torvalds 961da177e4SLinus Torvalds* Make directory lookup/read use the NLS if an iocharset is provided. [WD] 971da177e4SLinus Torvalds 981da177e4SLinus Torvalds* Fixed stupid bug where specifying the uid or gid mount options as '0' 991da177e4SLinus Torvalds would result in the filesystem using the on-disk uid and gid. [WD] 1001da177e4SLinus Torvalds 1011da177e4SLinus Torvalds* Added mount option to control debug printing. 1021da177e4SLinus Torvalds The option is, simply enough, 'debug'. 1031da177e4SLinus Torvalds (super.c, debug.c) [WD] 1041da177e4SLinus Torvalds 1051da177e4SLinus Torvalds* Removed notion of btree handle from btree.c. It was unnecessary, as the 1061da177e4SLinus Torvalds linux VFS doesn't allow us to keep any state between calls. Updated 1071da177e4SLinus Torvalds dir.c, namei.c befs_fs.h to account for it. [WD] 1081da177e4SLinus Torvalds 1091da177e4SLinus Torvalds* Improved handleing of overflow nodes when listing directories. 1101da177e4SLinus Torvalds Now works for overflow nodes hanging off of nodes other than the root 1111da177e4SLinus Torvalds node. This is the cleaner solution to Brent Miszalaski's problem. [WD] 1121da177e4SLinus Torvalds 1131da177e4SLinus Torvalds* Added new debug/warning/error print functions in debug.c. 1141da177e4SLinus Torvalds More flexible. Will soon be controllable at mount time 1151da177e4SLinus Torvalds (see TODO). [WD] 1161da177e4SLinus Torvalds 11725985edcSLucas De Marchi* Rewrote datastream position lookups. 1181da177e4SLinus Torvalds (datastream.c) [WD] 1191da177e4SLinus Torvalds 1201da177e4SLinus Torvalds* Moved the TODO list to its own file. 1211da177e4SLinus Torvalds 1221da177e4SLinus Torvalds 1231da177e4SLinus TorvaldsVersion 0.50 (2001-11-13) 1241da177e4SLinus Torvalds========== 1251da177e4SLinus Torvalds* Added workaround for mis-understanding of the nature of the b+trees used 1261da177e4SLinus Torvalds in directories. A cleaner solution will come after I've thought about it 1271da177e4SLinus Torvalds for a while. Thanks to Brent Miszalaski for finding and reporting this bug. 1281da177e4SLinus Torvalds (btree.c) [WD] 1291da177e4SLinus Torvalds 1301da177e4SLinus Torvalds* Minor cleanups 1311da177e4SLinus Torvalds 1321da177e4SLinus Torvalds* Added test for "impossible" condition of empty internal nodes in 1331da177e4SLinus Torvalds seekleaf() in btree.c [WD] 1341da177e4SLinus Torvalds 1351da177e4SLinus Torvalds* Implemented the abstracted read_block() in io.c [WD] 1361da177e4SLinus Torvalds 1371da177e4SLinus Torvalds* Cleaned up the inode validation in inode.c [WD] 1381da177e4SLinus Torvalds 1391da177e4SLinus Torvalds* Anton Altaparmakov figured out (by asking Linus :) ) what was causing the 1401da177e4SLinus Torvalds hanging disk io problem. It turns out you need to have the sync_pages 1411da177e4SLinus Torvalds callback defined in your address_space_ops, even if it just uses the 1421da177e4SLinus Torvalds default linux-supplied implementation. Fixed. Works now. 1431da177e4SLinus Torvalds (file.c) [WD] 1441da177e4SLinus Torvalds 1451da177e4SLinus Torvalds* Anton Altaparmakov and Christoph Hellwig alerted me to the fact that 1461da177e4SLinus Torvalds filesystem code should be using GFP_NOFS instead of GFP_KERNEL as the 1471da177e4SLinus Torvalds priority parameter to kmalloc(). Fixed. 1481da177e4SLinus Torvalds (datastream.c, btree.c super.c inode.c) [WD] 1491da177e4SLinus Torvalds 1501da177e4SLinus Torvalds* Anton also told me that the blocksize is not allowed to be larger than 1511da177e4SLinus Torvalds the page size in linux, which is 4k i386. Oops. Added a test for 1521da177e4SLinus Torvalds (blocksize > PAGE_SIZE), and refuse to mount in that case. What this 15325985edcSLucas De Marchi practically means is that 8k blocksize volumes won't work without a major 1541da177e4SLinus Torvalds restructuring of the driver (or an alpha or other 64bit hardware). [WD] 1551da177e4SLinus Torvalds 1561da177e4SLinus Torvalds* Cleaned up the befs_count_blocks() function. Much smarter now. 1571da177e4SLinus Torvalds And somewhat smaller too. [WD] 1581da177e4SLinus Torvalds 1591da177e4SLinus Torvalds* Made inode allocations use a slab cache 1601da177e4SLinus Torvalds (super.c inode.c) [WD] 1611da177e4SLinus Torvalds 1621da177e4SLinus Torvalds* Moved the freeing of the private inode section from put_inode() to 1631da177e4SLinus Torvalds clear_inode(). This fixes a potential free twice type bug. Put_inode() 1641da177e4SLinus Torvalds can be called multiple times for each inode struct. [WD] 1651da177e4SLinus Torvalds 1661da177e4SLinus Torvalds* Converted all non vfs-callback functions to use befs_sb_info as the 1671da177e4SLinus Torvalds superblock type, rather than struct super_block. This is for 1681da177e4SLinus Torvalds portablity. [WD] 1691da177e4SLinus Torvalds 1701da177e4SLinus Torvalds* Fixed a couple of compile warnings due to use of malloc.h, when slab.h 1711da177e4SLinus Torvalds is the new way. (inode.c, super.c) [WD] 1721da177e4SLinus Torvalds 1731da177e4SLinus Torvalds* Fixed erronous includes of linux/befs_fs_i.h and linux/befs_fs_sb.h 1741da177e4SLinus Torvalds in inode.c [WD] 1751da177e4SLinus Torvalds 1761da177e4SLinus TorvaldsVersion 0.45 (2001-10-29) 1771da177e4SLinus Torvalds========== 1781da177e4SLinus Torvalds* Added functions to get the private superblock and inode structures from 1791da177e4SLinus Torvalds their enclosing public structures. Switched all references to the 1801da177e4SLinus Torvalds private portions to use them. (many files) [WD] 1811da177e4SLinus Torvalds 1821da177e4SLinus Torvalds* Made read_super and read_inode allocate the private portions of those 1831da177e4SLinus Torvalds structures into the generic pointer fields of the public structures 1841da177e4SLinus Torvalds with kmalloc(). put_super and put_inode free them. This allows us not 1851da177e4SLinus Torvalds to have to touch the definitions of the public structures in 18625985edcSLucas De Marchi include/linux/fs.h. Also, befs_inode_info is huge (because of the 1871da177e4SLinus Torvalds symlink string). (super.c, inode.c, befs_fs.h) [WD] 1881da177e4SLinus Torvalds 1891da177e4SLinus Torvalds* Fixed a thinko that was corrupting file reads after the first block_run 1901da177e4SLinus Torvalds is done being read. (datastream.c) [WD] 1911da177e4SLinus Torvalds 1921da177e4SLinus Torvalds* Removed fsync() hooks, since a read-only filesystem doesn't need them. 1931da177e4SLinus Torvalds [Christoph Hellwig]. 1941da177e4SLinus Torvalds 1951da177e4SLinus Torvalds* Fixed befs_readlink() (symlink.c) [Christoph Hellwig]. 1961da177e4SLinus Torvalds 1971da177e4SLinus Torvalds* Removed all the Read-Write stuff. I'll redo it when it is time to add 1981da177e4SLinus Torvalds write support (various files) [WD]. 1991da177e4SLinus Torvalds 2001da177e4SLinus Torvalds* Removed prototypes for functions who's definitions have been removed 2011da177e4SLinus Torvalds (befs_fs.h) [WD]. 2021da177e4SLinus Torvalds 2031da177e4SLinus Torvalds 2041da177e4SLinus TorvaldsVersion 0.4 (2001-10-28) 2051da177e4SLinus Torvalds========== 2061da177e4SLinus Torvalds* Made it an option to use the old non-pagecache befs_file_read() for 2071da177e4SLinus Torvalds testing purposes. (fs/Config.in) 2081da177e4SLinus Torvalds 2091da177e4SLinus Torvalds* Fixed unused variable warnings when compiling without debugging. 2101da177e4SLinus Torvalds 2111da177e4SLinus Torvalds* Fixed a bug where the inode and super_block didn't get their blockbits 2121da177e4SLinus Torvalds fields set (inode.c and super.c). 2131da177e4SLinus Torvalds 2141da177e4SLinus Torvalds* Release patch version 11. AKA befs-driver version 0.4. 2151da177e4SLinus Torvalds 2161da177e4SLinus Torvalds* Thats right. New versioning scheme. 2171da177e4SLinus Torvalds I've done some serious testing on it now (on my box anyhow), and it 2181da177e4SLinus Torvalds seems stable and not outragously slow. Existing features are more-or-less 2191da177e4SLinus Torvalds correct (see TODO list). But it isn't 1.0 yet. I think 0.4 gives me some 2201da177e4SLinus Torvalds headroom before the big 1.0. 2211da177e4SLinus Torvalds 2221da177e4SLinus Torvalds 2231da177e4SLinus Torvalds2001-10-26 2241da177e4SLinus Torvalds========== 2251da177e4SLinus Torvalds* Fixed date format in this file. Was I smoking crack? 2261da177e4SLinus Torvalds 2271da177e4SLinus Torvalds* Removed old datastream code from file.c, since it is nolonger used. 2281da177e4SLinus Torvalds 2291da177e4SLinus Torvalds* Generic_read_file() is now used to read regular file data. 2301da177e4SLinus Torvalds It doesn't chew up the buffer cache (it does page io instead), and seems 2311da177e4SLinus Torvalds to be about as fast (even though it has to look up each file block 2321da177e4SLinus Torvalds indivdualy). And it knows about doing readahead, which is a major plus. 2331da177e4SLinus Torvalds So it does i/o in much larger chunks. It is the correct linux way. It 2341da177e4SLinus Torvalds uses befs_get_block() by way of befs_readpage() to find the disk offsets 2351da177e4SLinus Torvalds of blocks, which in turn calls befs_fpos2brun() in datastream.c to do 2361da177e4SLinus Torvalds the hard work of finding the disk block number. 2371da177e4SLinus Torvalds 2381da177e4SLinus Torvalds* Changed method of checking for a dirty filesystem in befs_read_super 2391da177e4SLinus Torvalds (super.c). Now we check to see if log_start and log_end differ. If so, 2401da177e4SLinus Torvalds the journal needs to be replayed, and the filesystem cannot be mounted. 2411da177e4SLinus Torvalds 2421da177e4SLinus Torvalds* Fixed an extra instance of MOD_DEC_USE_COUNT in super.c 2431da177e4SLinus Torvalds 2441da177e4SLinus Torvalds* Fixed a problem with reading the superblock on devices with large sector 2451da177e4SLinus Torvalds sizes (such as cdroms) on linux 2.4.10 and up. 2461da177e4SLinus Torvalds 2471da177e4SLinus Torvalds2001-10-24 2481da177e4SLinus Torvalds========== 2491da177e4SLinus Torvalds* Fix nasty bug in converting block numbers to struct befs_inode_addr. 2501da177e4SLinus Torvalds Subtle, because the old version was only sometimes wrong. 2511da177e4SLinus Torvalds Probably responsible for lots of problems. (inode.c) 2521da177e4SLinus Torvalds 2531da177e4SLinus Torvalds* Fix bug with reading an empty directory. (btree.c and dir.c) 2541da177e4SLinus Torvalds 2551da177e4SLinus Torvalds* This one looks good. Release patch version 10 2561da177e4SLinus Torvalds 2571da177e4SLinus Torvalds2001-10-23 2581da177e4SLinus Torvalds========== 2591da177e4SLinus Torvalds* Added btree searching function. 2601da177e4SLinus Torvalds 2611da177e4SLinus Torvalds* Use befs_btree_find in befs_lookup (namei.c) 2621da177e4SLinus Torvalds 2631da177e4SLinus Torvalds* Additional comments in btree.c 2641da177e4SLinus Torvalds 2651da177e4SLinus Torvalds2001-10-22 2661da177e4SLinus Torvalds========== 2671da177e4SLinus Torvalds* Added B+tree reading functions (in btree.c). 2681da177e4SLinus Torvalds Made befs_readdir() use them them instead of the cruft in index.c. 2691da177e4SLinus Torvalds 2701da177e4SLinus Torvalds2001-09-11 2711da177e4SLinus Torvalds========== 2721da177e4SLinus Torvalds* Converted befs_read_file() to use the new datastream code. 2731da177e4SLinus Torvalds 2741da177e4SLinus Torvalds* Finally updated the README file. 2751da177e4SLinus Torvalds 2761da177e4SLinus Torvalds* Added many comments. 2771da177e4SLinus Torvalds 2781da177e4SLinus Torvalds* Posted version 6 2791da177e4SLinus Torvalds 2801da177e4SLinus Torvalds* Removed byte-order conversion code. 2811da177e4SLinus Torvalds I have no intention of supporting it, and it was very ugly. 2821da177e4SLinus Torvalds Flow control with #ifdef (ugh). Maybe I'll redo it once 2831da177e4SLinus Torvalds native byteorder works 100%. 2841da177e4SLinus Torvalds 2851da177e4SLinus Torvalds2001-09-10 2861da177e4SLinus Torvalds========== 2871da177e4SLinus Torvalds* Finished implementing read_datastream() 2881da177e4SLinus Torvalds 2891da177e4SLinus Torvalds* made befs_read_brun() more general 2901da177e4SLinus Torvalds Supports an offset to start at and a max bytes to read 2911da177e4SLinus Torvalds Added a wrapper function to give the old call 2921da177e4SLinus Torvalds 2931da177e4SLinus Torvalds2001-09-30 2941da177e4SLinus Torvalds========== 2951da177e4SLinus Torvalds* Discovered that the datastream handleing code in file.c is quite deficient 2961da177e4SLinus Torvalds in several respects. For one thing, it doesn't deal with indirect blocks 2971da177e4SLinus Torvalds 2981da177e4SLinus Torvalds* Rewrote datastream handleing. 2991da177e4SLinus Torvalds 3001da177e4SLinus Torvalds* Created io.c, for io related functions. 3011da177e4SLinus Torvalds Previously, the befs_bread() funtions lived in file.c 3021da177e4SLinus Torvalds Created the befs_read_brun() function. 3031da177e4SLinus Torvalds 3041da177e4SLinus Torvalds 3051da177e4SLinus Torvalds2001-09-07 3061da177e4SLinus Torvalds========== 3071da177e4SLinus Torvalds* Made a function to actually count the number of fs blocks used by a file. 3081da177e4SLinus Torvalds And helper functions. 3091da177e4SLinus Torvalds (fs/befs/inode.c) 3101da177e4SLinus Torvalds 3111da177e4SLinus Torvalds2001-09-05 3121da177e4SLinus Torvalds========== 3131da177e4SLinus Torvalds* Fixed a misunderstanding of the inode fields. 3141da177e4SLinus Torvalds This fixed the problmem with wrong file sizes from du and others. 3151da177e4SLinus Torvalds The i_blocks field of the inode struct is not the number of blocks for the 3161da177e4SLinus Torvalds inode, it is the number of blocks for the file. Also, i_blksize is not 3171da177e4SLinus Torvalds necessarily the size of the inode, although in practice it works out. 3181da177e4SLinus Torvalds Changed to blocksize of filesystem. 3191da177e4SLinus Torvalds (fs/befs/inode.c) 3201da177e4SLinus Torvalds 3211da177e4SLinus Torvalds* Permanently removed code that had been provisionally ifdefed out of befs_fs.h 3221da177e4SLinus Torvalds 3231da177e4SLinus Torvalds* Since we don't support access time, make that field zero, instead of 3241da177e4SLinus Torvalds copying m_time. 3251da177e4SLinus Torvalds (fs/befs/inode.c) 3261da177e4SLinus Torvalds 3271da177e4SLinus Torvalds* Added sanity check for inode reading 3281da177e4SLinus Torvalds Make sure inode we got was the one we asked for. 3291da177e4SLinus Torvalds (fs/befs/inode.c) 3301da177e4SLinus Torvalds 3311da177e4SLinus Torvalds* Code cleanup 3321da177e4SLinus Torvalds Local pointers to commonly used structures in inode.c. 3331da177e4SLinus Torvalds Got rid of abominations befs_iaddr2inode() and befs_inode2ino(). 3341da177e4SLinus Torvalds Replaced with single function iaddr2blockno(). 3351da177e4SLinus Torvalds (fs/befs/super.c) (fs/befs/inode.c) 3361da177e4SLinus Torvalds 3371da177e4SLinus Torvalds2001-09-01 3381da177e4SLinus Torvalds========== 3391da177e4SLinus Torvalds* Fixed the problem with statfs where it would always claim the disk was 3401da177e4SLinus Torvalds half full, due to improper understanding of the statfs fields. 3411da177e4SLinus Torvalds (fs/befs/super.c) 3421da177e4SLinus Torvalds 3431da177e4SLinus Torvalds* Posted verion 4 of the patch 3441da177e4SLinus Torvalds 3451da177e4SLinus Torvalds2001-09-01 3461da177e4SLinus Torvalds========== 3471da177e4SLinus Torvalds* Changed the macros in befs_fs.h to inline functions. 3481da177e4SLinus Torvalds More readable. Typesafe. Better 3491da177e4SLinus Torvalds (include/linux/befs_fs.h) 3501da177e4SLinus Torvalds 3511da177e4SLinus Torvalds* Moved type definitions from befs_fs.h to a new file, befs_fs_types.h 3521da177e4SLinus Torvalds Because befs_fs_i.h and befs_fs_sb.h were including befs_fs.h for the 3531da177e4SLinus Torvalds typedefs, and they are inlcuded in <linux/fs.h>, which has definitions 3541da177e4SLinus Torvalds that I want the inline functions in befs_fs.h to be able to see. Nasty 3551da177e4SLinus Torvalds circularity. 3561da177e4SLinus Torvalds (include/linux/befs_fs.h) 3571da177e4SLinus Torvalds 3581da177e4SLinus Torvalds2001-08-30 3591da177e4SLinus Torvalds========== 3601da177e4SLinus Torvalds* Cleaned up some wording. 3611da177e4SLinus Torvalds 3621da177e4SLinus Torvalds* Added additional consitency checks on mount 3631da177e4SLinus Torvalds Check block_size agrees with block_shift 3641da177e4SLinus Torvalds Check flags == BEFS_CLEAN 3651da177e4SLinus Torvalds (fs/befs/super.c) 3661da177e4SLinus Torvalds 3671da177e4SLinus Torvalds* Tell the kernel to only mount befs read-only. 3681751e8a6SLinus Torvalds By setting the SB_RDONLY flag in befs_read_super(). 3691da177e4SLinus Torvalds Not that it was possible to write before. But now the kernel won't even try. 3701da177e4SLinus Torvalds (fs/befs/super.c) 3711da177e4SLinus Torvalds 3721da177e4SLinus Torvalds* Got rid of kernel warning on mount. 3731da177e4SLinus Torvalds The kernel doesn't like it if you call set_blocksize() on a device when 3741da177e4SLinus Torvalds you have some of its blocks open. Moved the second set_blocksize() to the 3751da177e4SLinus Torvalds very end of befs_read_super(), after we are done with the disk superblock. 3761da177e4SLinus Torvalds (fs/befs/super.c) 3771da177e4SLinus Torvalds 3781da177e4SLinus Torvalds* Fixed wrong number of args bug in befs_dump_inode 3791da177e4SLinus Torvalds (fs/befs/debug.c) 3801da177e4SLinus Torvalds 3811da177e4SLinus Torvalds* Solved lots of type mismatches in kprint()s 3821da177e4SLinus Torvalds (everwhere) 3831da177e4SLinus Torvalds 3841da177e4SLinus Torvalds2001-08-27 3851da177e4SLinus Torvalds========== 3861da177e4SLinus Torvalds* Cleaned up the fs/Config.in entries a bit, now slightly more descriptive. 3871da177e4SLinus Torvalds 3881da177e4SLinus Torvalds* BeFS depends on NLS, so I made activating BeFS enable the NLS questions 3891da177e4SLinus Torvalds (fs/nls/Config.in) 3901da177e4SLinus Torvalds 3911da177e4SLinus Torvalds* Added Configure.help entries for CONFIG_BEFS_FS and CONFIG_DEBUG_BEFS 392*44348e8aSMauro Carvalho Chehab (currently at fs/befs/Kconfig) 3931da177e4SLinus Torvalds 3941da177e4SLinus Torvalds2001-08-?? 3951da177e4SLinus Torvalds========== 3961da177e4SLinus Torvalds* Removed superblock locking calls in befs_read_super(). In 2.4, the VFS 3971da177e4SLinus Torvalds hands us a super_block struct that is already locked. 3981da177e4SLinus Torvalds 3991da177e4SLinus Torvalds2001-08-13 4001da177e4SLinus Torvalds========== 4011da177e4SLinus Torvalds* Will Dyson <will_dyson@pobox.com> is now attempting to maintain this module 4021da177e4SLinus Torvalds Makoto Kato <m_kato@ga2.so-net.ne.jp> is original author.Daniel Berlin 4031da177e4SLinus Torvalds also did some work on it (fixing it up for the later 2.3.x kernels, IIRC). 4041da177e4SLinus Torvalds 4051da177e4SLinus Torvalds* Fixed compile errors on 2.4.1 kernel (WD) 4061da177e4SLinus Torvalds Resolve rejected patches 40725985edcSLucas De Marchi Accommodate changed NLS interface (util.h) 4081da177e4SLinus Torvalds Needed to include <linux/slab.h> in most files 4091da177e4SLinus Torvalds Makefile changes 4101da177e4SLinus Torvalds fs/Config.in changes 4111da177e4SLinus Torvalds 4121da177e4SLinus Torvalds* Tried to niceify the code using the ext2 fs as a guide 4131da177e4SLinus Torvalds Declare befs_fs_type using the DECLARE_FSTYPE_DEV() macro 4141da177e4SLinus Torvalds 4151da177e4SLinus Torvalds* Made it a configure option to turn on debugging (fs/Config.in) 4161da177e4SLinus Torvalds 4171da177e4SLinus Torvalds* Compiles on 2.4.7 418