Deleted Added
full compact
nfs_node.c (27845) nfs_node.c (29653)
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_node.c 8.6 (Berkeley) 5/22/95
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_node.c 8.6 (Berkeley) 5/22/95
37 * $Id: nfs_node.c,v 1.17 1997/05/09 13:04:43 dfr Exp $
37 * $Id: nfs_node.c,v 1.18 1997/08/02 14:33:07 bde Exp $
38 */
39
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/proc.h>
44#include <sys/mount.h>
45#include <sys/namei.h>

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

368nfs_abortop(ap)
369 struct vop_abortop_args /* {
370 struct vnode *a_dvp;
371 struct componentname *a_cnp;
372 } */ *ap;
373{
374
375 if ((ap->a_cnp->cn_flags & (HASBUF | SAVESTART)) == HASBUF)
38 */
39
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/proc.h>
44#include <sys/mount.h>
45#include <sys/namei.h>

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

368nfs_abortop(ap)
369 struct vop_abortop_args /* {
370 struct vnode *a_dvp;
371 struct componentname *a_cnp;
372 } */ *ap;
373{
374
375 if ((ap->a_cnp->cn_flags & (HASBUF | SAVESTART)) == HASBUF)
376 FREE(ap->a_cnp->cn_pnbuf, M_NAMEI);
376 zfree(namei_zone, ap->a_cnp->cn_pnbuf);
377 return (0);
378}
377 return (0);
378}