Deleted Added
sdiff udiff text old ( 46370 ) new ( 46568 )
full compact
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95
37 * $Id: nfs_vnops.c,v 1.126 1999/05/03 20:59:14 alc Exp $
38 */
39
40
41/*
42 * vnode op calls for Sun NFS version 2 and 3
43 */
44
45#include "opt_inet.h"

--- 2492 unchanged lines hidden (view full) ---

2538 return (ENOENT);
2539 }
2540 } else
2541 nfsm_loadattr(newvp, (struct vattr *)0);
2542 }
2543 nfsm_reqdone;
2544 if (npp && *npp == NULL) {
2545 if (error) {
2546 if (newvp) {
2547 if (newvp == dvp)
2548 vrele(newvp);
2549 else
2550 vput(newvp);
2551 }
2552 } else
2553 *npp = np;
2554 }
2555 return (error);
2556}
2557
2558/*
2559 * Nfs Version 3 commit rpc

--- 777 unchanged lines hidden ---