From 273045f840db8359e601e413affd5d425c9a26ff Mon Sep 17 00:00:00 2001 From: chopps Date: Mon, 16 May 1994 05:03:56 +0000 Subject: [PATCH] directories wired to have link count 1 not 2, pointed out by Charles. --- sys/adosfs/advnops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/adosfs/advnops.c b/sys/adosfs/advnops.c index fe603b9be660..35f6d2652fcb 100644 --- a/sys/adosfs/advnops.c +++ b/sys/adosfs/advnops.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: advnops.c,v 1.2 1994/05/13 04:53:51 chopps Exp $ + * $Id: advnops.c,v 1.3 1994/05/16 05:03:56 chopps Exp $ */ #include #include @@ -122,7 +122,7 @@ adosfs_getattr(vp, vap, ucp, p) vap->va_type = vp->v_type; vap->va_mode = amp->mask & adunixprot(ap->adprot); if (vp->v_type == VDIR) { - vap->va_nlink = 2; /* XXX bogus, oh well */ + vap->va_nlink = 1; /* XXX bogus, oh well */ vap->va_bytes = amp->bsize; vap->va_size = amp->bsize; } else {