Deleted Added
full compact
dead_vnops.c (72200) dead_vnops.c (76166)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)dead_vnops.c 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)dead_vnops.c 8.1 (Berkeley) 6/10/93
34 * $FreeBSD: head/sys/fs/deadfs/dead_vnops.c 72200 2001-02-09 06:11:45Z bmilekic $
34 * $FreeBSD: head/sys/fs/deadfs/dead_vnops.c 76166 2001-05-01 08:13:21Z markm $
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/kernel.h>
40#include <sys/lock.h>
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/kernel.h>
40#include <sys/lock.h>
41#include <sys/vnode.h>
41#include <sys/mutex.h>
42#include <sys/poll.h>
42#include <sys/poll.h>
43#include <sys/vnode.h>
43
44
44#include <machine/mutex.h>
45
46static int chkvnlock __P((struct vnode *));
47/*
48 * Prototypes for dead operations on vnodes.
49 */
50static int dead_badop __P((void));
51static int dead_bmap __P((struct vop_bmap_args *));
52static int dead_ioctl __P((struct vop_ioctl_args *));
53static int dead_lock __P((struct vop_lock_args *));

--- 243 unchanged lines hidden ---
45static int chkvnlock __P((struct vnode *));
46/*
47 * Prototypes for dead operations on vnodes.
48 */
49static int dead_badop __P((void));
50static int dead_bmap __P((struct vop_bmap_args *));
51static int dead_ioctl __P((struct vop_ioctl_args *));
52static int dead_lock __P((struct vop_lock_args *));

--- 243 unchanged lines hidden ---