Re: HDIO_GETGEO vs. BLKGETSIZE

From: David Woodhouse (dwmw2@infradead.org)
Date: Mon May 22 2000 - 10:47:16 EST


aeb@veritas.com said:
> > What if BLKGETSIZE/(H*S) isn't an integer?
> / is the C operator. It rounds down.

Sorry, what I meant to say was:

What if (BLKGETSIZE / (H*S)) * (H*S) != BLKGETSIZE?

Is there anything that's likely to get confused by that?

--
dwmw2

- 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/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:21 EST