lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sysfs regression: wrong link counts
On Mon, Jan 30, 2012 at 10:10:59PM +0000, Alan Cox wrote:
> > Isn't there some other "proper" way of doing this in userspace, or is
> > this really the correct way?
>
> You can look at the S_IFMT bits and stuff however link count indicating
> number of subdirectories is a standard Unix thing and used by many quite
> mundane tools as an optimisation.

Ah, yeah, that is easier.

Eric, care to fix this or want me to revert it?

thanks,

greg k-h


\
 
 \ /
  Last update: 2012-01-30 23:29    [W:0.176 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site