This directory contains patches that were sent to Linus for inclusion
into next official kernel.
Currently all patches are against 2.4.8-pre3.
Patches in this directory are subject to change without any notice.
A-panic-in-reiserfs_read_super.patch
this patch allows reiserfs to cope with an attempt to mount file-system
with corrupted super-block: reiserfs stores both version-dependent magic
and version itself in a super-block. This patch just returns error
rather than panics if they don't match.
B-journal-replay.patch
following patch by Chris Mason allows reiserfs to fail gracefully when
io error is hit during journal replay: just return error in stead of
panicking.
C-old-format.patch
this patch fixes bugs in the support for reiserfs format <3.5:
file-systems of this format are now mountable and convertible.
D-clear-i_blocks.patch
This patch sets inode.i_blocks to zero on deletion of reiserfs
file. This in particular cures hard to believe bug when saving file in
EMACS caused top to loose sight of all processes:
. reiserfs didn't properly cleared i_blocks when removing
symlinks. Actually -7 was inserted into unsigned i_blocks field. This
didn't usually hurt because file is being deleted;
. inode is reused for procfs and neither get_new_inode() nor
proc_read_inode() cleared i_blocks;
. now procfs inode has huge i_blocks field;
. top calls stat on it and libc wrapper returns EOVERFLOW, as i_blocks
doesn't fit into user-level struct.
. top sees nothing.
E-extern-inline-copy_key.patch
this patch suppresses warnings during reiserfs compilation in
2.4.8-pre3: include/linux/reiserfs_fs.h contains both definition and
declaration of copy_key(). 2.4.8-pre3 changed "extern inline" to "static
inline" in definition, and so it mismatches declaration. Patch just
removes declaration.