This directory contains patches that were sent to Alan Cox for inclusion into next -ac patches. They are mostly cleanups. [ACCEPTED in 2.4.7-ac3] A-nokernel.patch Removes non-kernel code (conditioned by !defined( __KERNEL__ )) Doesn't change functionality in any way. (747 loc, 18734 bytes) [ACCEPTED in 2.4.7-ac3] B-fsck.patch Removes code pertaining to reiserfsck conditioned by defined( REISERFS_FSCK ). Doesn't change functionality in any way. (448 loc, 15980 bytes) [ACCEPTED in 2.4.7-ac3] C-reiserfs-check.patch Replaces consistency checks inside defined( CONFIG_REISERFS_CHECK ) with RFALSE()---assert-like macro. Makes code more readable and compact. Doesn't change functionality in any way. (3212 loc, 132138 bytes) [ACCEPTED in 2.4.7-ac3] D-constness-format-strings.patch Add "const" qualifier to parameters of functions. Correct wrong or inconsistent format strings and arguments passed to printf-like functions. Improves typechecking, fixes some bugs (never detected in practice), probably leaves gcc with more room for optimisations. (1079 loc, 48559 bytes) [ACCEPTED in 2.4.7-ac3] E-prints.c-cleanup.patch Patch by Jeff Mahoney to replace ugly do_reiserfs_warning() macro in fs/reiserfs/prints.c with function. (192 loc, 5070 bytes) F-signed-hash.patch Patch by Jeff Mahoney to add "signed" to prototypes of hash functions in fs/reiserfs/hashes.c so that they work identically independently of default "signness" of a given platform. WARNING: If you ever apply this patch on the platform where default char is "unsigned" you should apply following script to all reiserfs mounts: -------[do not cut-n-paste this from browser]----- #!/bin/sh if [ $# -ne 1 ]; then echo "usage: find-high-ascii.sh " exit 1 fi find $1 -name '*[€-ÿ]*' -------[do not cut-n-paste this from browser]----- Then backup all files found by this script, remove them, reboot with patched kernel, and restore backup. (65 loc, 2410 bytes) G-preserve-list.patch Patch by Jeff Mahoney to remove unused obsolete "preserve-list" code (some early form of journalling). (466 loc, 19661 bytes) H-right-delim-key.patch Patch by Jeff Mahoney to remove unused obsolete "right-delimiting-key" code. (256 loc, 10726 bytes) I-procinfo.patch Add configuration option to create under /proc/fs/reiserfs hierarchy of files, displaying various ReiserFS statistics and internal data on the expense of making your kernel or module slightly larger (+8K). This also increases amount of kernel memory required for each mount. Only ReiserFS developers and people fine-tuning reiserfs or tracing problems should be interested in this. (1454 loc, 49026 bytes) .