Re: [PATCH][2/2] SquashFS
From: Matt Mackall
Date: Tue Mar 15 2005 - 23:20:46 EST
On Tue, Mar 15, 2005 at 05:04:32PM -0800, Matt Mackall wrote:
> On Tue, Mar 15, 2005 at 11:25:07PM +0000, Phillip Lougher wrote:
> > >>+ unsigned int s_major:16;
> > >>+ unsigned int s_minor:16;
> > >
> > >What's going on here? s_minor's not big enough for modern minor
> > >numbers.
> >
> > What is the modern size then?
>
> Minors are 22 bits, majors are 10. May grow to 32 each at some point.
Both akpm and I remembered wrong, fyi. It's 12 major bits, 20 minor.
--
Mathematics is the supreme nostalgia of our time.
-
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/