Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Nov 2000 15:14:46 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        andrew@ugh.net.au
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: vcount - only devices? 
Message-ID:  <1407.973347286@critter>
In-Reply-To: Your message of "Sat, 04 Nov 2000 23:51:23 %2B1000." <Pine.BSF.4.21.0011042348180.12433-100000@starbug.ugh.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0011042348180.12433-100000@starbug.ugh.net.au>, andre
w@ugh.net.au writes:
>Hi,
>
>I'm just looking at vcount in sys/kern/vfs_subr.c. The comment says that
>it works on special devices. Does this mean it wont work if called on a
>vnode of a regular file? That seems unlikely but I've no idea what I'm
>doing in these regions of code either :-)

It only works on devices.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1407.973347286>