Deleted Added
full compact
null.h (128019) null.h (138290)
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software donated to Berkeley by
6 * Jan-Simon Pendry.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)null.h 8.3 (Berkeley) 8/20/94
33 *
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software donated to Berkeley by
6 * Jan-Simon Pendry.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)null.h 8.3 (Berkeley) 8/20/94
33 *
34 * $FreeBSD: head/sys/fs/nullfs/null.h 128019 2004-04-07 20:46:16Z imp $
34 * $FreeBSD: head/sys/fs/nullfs/null.h 138290 2004-12-01 23:16:38Z phk $
35 */
36
37struct null_mount {
38 struct mount *nullm_vfs;
39 struct vnode *nullm_rootvp; /* Reference to root null_node */
40};
41
42#ifdef _KERNEL

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

63
64#ifdef DIAGNOSTIC
65struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno);
66#define NULLVPTOLOWERVP(vp) null_checkvp((vp), __FILE__, __LINE__)
67#else
68#define NULLVPTOLOWERVP(vp) (VTONULL(vp)->null_lowervp)
69#endif
70
35 */
36
37struct null_mount {
38 struct mount *nullm_vfs;
39 struct vnode *nullm_rootvp; /* Reference to root null_node */
40};
41
42#ifdef _KERNEL

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

63
64#ifdef DIAGNOSTIC
65struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno);
66#define NULLVPTOLOWERVP(vp) null_checkvp((vp), __FILE__, __LINE__)
67#else
68#define NULLVPTOLOWERVP(vp) (VTONULL(vp)->null_lowervp)
69#endif
70
71extern vop_t **null_vnodeop_p;
71extern struct vop_vector null_vnodeops;
72
73#ifdef MALLOC_DECLARE
74MALLOC_DECLARE(M_NULLFSNODE);
75#endif
76
77#ifdef NULLFS_DEBUG
78#define NULLFSDEBUG(format, args...) printf(format ,## args)
79#else
80#define NULLFSDEBUG(format, args...)
81#endif /* NULLFS_DEBUG */
82
83#endif /* _KERNEL */
72
73#ifdef MALLOC_DECLARE
74MALLOC_DECLARE(M_NULLFSNODE);
75#endif
76
77#ifdef NULLFS_DEBUG
78#define NULLFSDEBUG(format, args...) printf(format ,## args)
79#else
80#define NULLFSDEBUG(format, args...)
81#endif /* NULLFS_DEBUG */
82
83#endif /* _KERNEL */