Re: [patch 7/8] inode-diet: Use a union for i_blocks and i_size, i_rdev and i_devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 02, 2006 at 08:53:40PM -0400, Theodore Ts'o wrote:
> The i_blocks and i_size fields are only used for regular files.  So we
> move them into the union, along with i_rdev and i_devices, which are
> only used by block or character devices.

Can we please make this a named instead of unnamed union so everyone still
using the fields will trip up?  To reduce the impact a few more imajor/iminor
conversions might be needed were direct references to i_rdev crept back in.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux