Subject: nfs_vnops.c typos
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Roland McGrath <roland@frob.com>
List: current-users
Date: 01/10/1994 14:52:00
I supped this morning and had to make these changes to get the kernel
to compile:
diff -c /usr/src/sys/nfs/nfs_vnops.c.\~1\~ /usr/src/sys/nfs/nfs_vnops.c
*** /usr/src/sys/nfs/nfs_vnops.c.~1~ Mon Jan 10 05:36:10 1994
--- /usr/src/sys/nfs/nfs_vnops.c Mon Jan 10 14:06:34 1994
***************
*** 867,876 ****
if (vp->v_usecount > 1) {
if (!np->n_sillyrename)
- struct vattr va;
error = nfs_sillyrename(ndp, p);
} else {
! else if (nfs_getattr(vp, &va, ndp->ni_cred, p) == 0 &&
va.va_nlink > 1)
goto do_nfsremove;
nfsstats.rpccnt[NFSPROC_REMOVE]++;
--- 867,876 ----
if (vp->v_usecount > 1) {
if (!np->n_sillyrename)
error = nfs_sillyrename(ndp, p);
} else {
! struct vattr va;
! if (nfs_getattr(vp, &va, ndp->ni_cred, p) == 0 &&
va.va_nlink > 1)
goto do_nfsremove;
nfsstats.rpccnt[NFSPROC_REMOVE]++;
Diff exited abnormally with code 1 at Mon Jan 10 14:22:37
------------------------------------------------------------------------------