On Sat, Jul 23, 2011 at 10:31:23AM -0700, Linus Torvalds wrote: > It would be nice if we > > (a) got rid of umode_t entirely > > (b) changed 'mode_t' to the 16-bit traditional unix mode > > (c) made the users who now use 'mode_t' use the actual size they > want, since if they actually depend on the higher bits, it shouldn't > be called mode_t. > > but we'll never do it, because it's such a pain. Maybe, maybe not... There's not *that* many of users of either of those. BTW, what was fchmod(fd, -1) about? It ends up using current ->i_mode, but that's not only a Linuxism, it's an undocumented one... Old one, too - 0.99.14v, AFAICS. Looking around on google gave no results (including usenet search) and there's no changelog for that revision on kernel.org, AFAICS... -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html