Re: Possible inode.c problem for EXT2

Guest section DW (dwguest@win.tue.nl)
Mon, 27 Sep 1999 12:17:35 +0200 (MET DST)


Mike Black:

>> Some of my messages show ASCII data in the "want=" portion of
>> the "attempt to access beyond" message.

tytso:

> Well, that means the ext2 filesystem found ASCII data in either the
> inode table or an indirect metatdata block.

I don't think so.
Look at what is printed:

count = bh->b_size >> 9;
sector = bh->b_rsector;

if (...) {
printk("attempt to access beyond end of device\n");
printk("%s: rw=%d, want=%d, limit=%d\n",
kdevname(bh->b_rdev), rw,
(sector + count)>>1,
blk_size[major][MINOR(bh->b_rdev)]);
}

The want= part is the result of a computation.
It would be very surprising if that produced recognizable strings.
But of course, 4 random bytes may by coincidence be 4 ASCII bytes.

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/