Re: [ANNOUNCE] new HFS(+) driver

From: Roman Zippel
Date: Thu Oct 02 2003 - 13:26:09 EST


Hi,

On Thu, 2 Oct 2003 viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:

> What the devil are you doing with get_gendisk() in there? Neither 2.4
> nor 2.6 should be messing with it.

In 2.6 it's only a debugging check and will be removed. In 2.4 it's
currently needed to get the correct size. The backup volume sector is in
the second last (512 byte) sector, but bd_inode->i_size is truncated to
BLOCK_SIZE.

bye, Roman


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