lkml.org 
[lkml]   [1999]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.097 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site