Re: Knfsd filehandles on 64-bit CPUS

Albert D. Cahalan (acahalan@cs.uml.edu)
Thu, 23 Jul 1998 20:17:27 -0400 (EDT)


Now that all the important stuff fits, we have 4 bytes left over.
That is where i_version goes, according to the original design.
The *BSD people seem to do that, with the name "i_gen" AFAIK.

As I was looking at this, I noticed the inode has:

unsigned long i_blksize;
unsigned long i_blocks;
unsigned long i_version;
unsigned long i_nrpages;

Shouldn't those be __u32 (or unsigned int) instead? There are a couple
other inode fields that seem to be needlessly large, and a couple that
look needlessly small (small being slow on some hardware).

-
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.altern.org/andrebalsa/doc/lkml-faq.html