Re: daddr_t is inconsistent and barely used

Christoph Hellwig (hch@ns.caldera.de)
Thu, 16 Aug 2001 05:21:19 +0200


On Thu, Aug 16, 2001 at 01:14:20PM +1000, Keith Owens wrote:
> On Thu, 16 Aug 2001 04:57:34 +0200,
> Christoph Hellwig <hch@ns.caldera.de> wrote:
> >In article <9980.997929632@kao2.melbourne.sgi.com> you wrote:
> >> daddr_t is barely used in the kernel. 2.4.8.
> >>
> >> The use of daddr_t in freevxfs may give different in core and disk
> >> layouts on different machines. Is that intended?.
> >
> >No, it may not. Please double check.
>
> That is why I said "may". It seemed puzzling that freevxfs used
> vx_daddr_t for almost everything but daddr_t for a couple of fields.
> An inconsistency with no obvious reason.

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