lost patch for fs/reiserfs/fix_node.c
Any reason the attached patch from Oleg Drokin never made
it even in 2.6.10 now? I see the supposedly harmless errors this patch is meant to correct and it seems like an oversight it never made it into the tree.
Signature · 19 lines
Mark Nipper e-contacts: 4475 Carter Creek Parkway [email protected] Apartment 724 http://nipsy.bitgnome.net/ Bryan, Texas, 77802-4481 AIM/Yahoo: texasnipsy ICQ: 66971617 (979)575-3193 MSN: [email protected] -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GG/IT d- s++:+ a- C++$ UBL++++$ P--->+++ L+++$ !E--- W++(--) N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--) Y+ PGP t+ 5 X R tv b+++@ DI+(++) D+ G e h r++ y+(**) ------END GEEK CODE BLOCK------ ---begin random quote of the moment--- He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife. -- Douglas Adams ----end random quote of the moment----
fs/reiserfs/fix_node.c renamed from fs/reiserfs/fix_node.c.orig +3 -2
@@ -510,9 +510,10 @@// s2bytes snum012[4 ] =op_unit_num (&vn->vn_vi[split_item_num]) - snum012[4 ] - bytes_to_r - bytes_to_l - bytes_to_S1new; -if (vn->vn_vi[split_item_num].vi_index !=TYPE_DIRENTRY ) +if (vn->vn_vi[split_item_num].vi_index !=TYPE_DIRENTRY && + vn->vn_vi[split_item_num].vi_index !=TYPE_INDIRECT )reiserfs_warning (tb->tb_sb,"vs-8115: get_num_ver: not " -"directory item" ); +"directory or indirect item" ); }/* now we know S2bytes, calculate S1bytes */