When I changed this to use lafs_seg_next I broke it, and didn't
test properly.
So enhance the testing to catch this.
Signed-off-by: NeilBrown <neilb@suse.de>
* response */
/* FIXME range check count */
while (!err && cnt--) {
+ if (bytes != DescHole)
+ baddr = lafs_seg_next(fs, &seg);
if (bytes != DescHole &&
!baddr) {
/* We have fallen off the end of
: blocksize,
pg);
bnum++;
- if (bytes != DescHole)
- baddr = lafs_seg_next(fs, &seg);
}
desc++;
} else {
ls -ia /mnt/1
#mount /dev/sdb /mnt/2
#cat /mnt/1/17
-md5sum /mnt/1/afile
+a=`md5sum /mnt/1/afile`
+echo $a
+set $a
+if [ $1 != 'db53a848287fe6dc69da95678da94f6a' ]
+then echo "Bad match" ; exit 1
+fi
echo 'db53....4f6a'
( > /mnt/1/fred )
ls -li /mnt/1