Messages in this thread | | | Date | Tue, 7 Dec 1999 12:50:43 +0100 | From | Guest section DW <> | Subject | Re: unsigned short for nlink_t |
| |
On Fri, Dec 03, 1999 at 10:24:31PM +0100, Russell Coker wrote: > Currently we have an unsigned short used for the number of hard links to a > file. > I have an application which uses 30,000 hard links and I had hoped to scale > it to more than 64K hard links... > > Is there any possibility that this could be changed in future kernels? Or is > POSIX forcing it to be only a 16bit number?
nlink_t: arithmetic type of an appropriate length
B.2.5 says: the type nlink_t was introduced in place of short in response to an objection that short was too small.
So, yes, you are right, one more short that has to become int.
- 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.tux.org/lkml/
| |