From 5a9c036bf3d48ca622b08286b5e82bec2cbb6b7a Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 2 Jun 2001 04:55:57 +0000 Subject: [PATCH] ChangeLog, expect.1, image.gz: f_badinode: Added a fast symlink with an invalid size to test e2fsck's handling of this case. RELEASE-NOTES: Upate last couple of changes for the WIP release. --- RELEASE-NOTES | 9 +++++++++ tests/ChangeLog | 5 ++++- tests/f_badinode/expect.1 | 7 +++++-- tests/f_badinode/image.gz | Bin 1111 -> 1155 bytes 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fc09b24..d3b03e3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -6,6 +6,15 @@ with relatively uncommon edge cases: a directory with an indirect block which is claimed by another file, and when the last inode in the filesystem has blocks claimed by another file. +E2fsck now checks to see if the i_size field of a fast symlink is too +big, and offers to clear the symlink if so. + +E2fsck now checks to see if i_size_high of special files is non-zero, +and offers to clear i_size_high. + +Fixed byte-ordering conversion bug which caused e2fsck's revoke +handling to essentially not work. + Fix e2fsck's handling of incompatible journal flags so that the user has chance to abort, and then has the option to clear out the journal entirely. diff --git a/tests/ChangeLog b/tests/ChangeLog index eaa8310..e542538 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,4 +1,7 @@ -2001-06-01 Theodore Tso +2001-06-02 Theodore Tso + + * f_badinode: Added a fast symlink with an invalid size to test + e2fsck's handling of this case. * f_dup3: New test case which checks handling of blocks claimed multiple times by one inode which weren't handled diff --git a/tests/f_badinode/expect.1 b/tests/f_badinode/expect.1 index 29af17b..62a680e 100644 --- a/tests/f_badinode/expect.1 +++ b/tests/f_badinode/expect.1 @@ -17,6 +17,9 @@ Clear? yes Inode 15 (/char_dev) is an illegal character device. Clear? yes +Inode 16 (/test-symlink) is a fast symlink with an invalid size (100) +Clear? yes + Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information @@ -29,10 +32,10 @@ Fix? yes Free blocks count wrong (76, counted=77). Fix? yes -Free inodes count wrong for group #0 (17, counted=20). +Free inodes count wrong for group #0 (16, counted=20). Fix? yes -Free inodes count wrong (17, counted=20). +Free inodes count wrong (16, counted=20). Fix? yes diff --git a/tests/f_badinode/image.gz b/tests/f_badinode/image.gz index 6beecc8b1d43aa33907fc2d4a52f070da4b69d33..7b4a0d100b60c6c977a7fe076edc9122895d94e3 100644 GIT binary patch delta 1078 zcmV-61j+l?2!jcKABzYG5MLNO0t0DnVP|Ck?b}Un+(a0_@kvqyHUUB#q;g`YkT?)* z&-guvLr^&&g%>G7kQezJLGn zE4L&T)vDUMeWDbAhtQJ5h2#0Zq81qv;M|x_pId1Elm9gZaK2R6008H6_BVdn_ z`FqU&;{1jSbNM^X`r{ve3)`4)^-5dEDV_LP;v0$YByQhr|7RWhMDn)rAoEYZY@Wa0 z`p5sjlY32ya?%^_-PQPi`sWus)&l?l$C~f63(Bj1zws*d$I_zmJjMk$H{^bd`42Gv zng0Ou9{}?o0P`OJ^B(~79{}?o0P`OJ^B(~7AHe@#HRtDl|G%u7`Cq*ku&P|uAC;4r zc1H)pZu8#jvRo_%qe-`V|8+$@swTZbZ@5?1@4~JsM_uoacJ@E$7Ki)oyRna{og1BT zwW)f4m-6$a<@#O5m&>C;zc<|H2mk;80040Rxz~#R&S+5R$w+VZh6f+&t<5cMyuj1j zM>h+7Wl#(cuISy-Sa)>wS$D_1!(ym=!$~pT?d%k;%P0Z>00000000000Px>(UDtW1 zvsaYPo5jG{9!)xZU%y)xW9{p$qjDk}<*%-Pzj4^<_2)ji&Ydlev)vm=4UX2YRX_hP z<-;4pQMV{v*Y6gGe%bBVb@#2;uQ^eYS|<$iJjt{U124}4Ux!{`npGY+HZ(T!ZIEP9 z=0v$4n>4rX+nZOND9th_2_h3)N6L7{T3^SWsrHS%%$&7voj5f~G)wGAUMb;g>!oRb zoi{Z>ouMw&WYES+d*Z~`k!J%bm3TG_n!1e5r6seMEcwe zPg3>JO18{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