Deleted Added
full compact
ffs_subr.c (10551) ffs_subr.c (12911)
1/*
2 * Copyright (c) 1982, 1986, 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 * @(#)ffs_subr.c 8.2 (Berkeley) 9/21/93
1/*
2 * Copyright (c) 1982, 1986, 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 * @(#)ffs_subr.c 8.2 (Berkeley) 9/21/93
34 * $Id: ffs_subr.c,v 1.4 1995/05/30 08:15:00 rgrimes Exp $
34 * $Id: ffs_subr.c,v 1.5 1995/09/04 00:20:55 dyson Exp $
35 */
36
37#include <sys/param.h>
38#include <ufs/ffs/fs.h>
39
40#ifdef KERNEL
41#include <sys/systm.h>
42#include <sys/vnode.h>

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

113 subfield <<= siz;
114 }
115 field <<= 1;
116 subfield <<= 1;
117 }
118 }
119}
120
35 */
36
37#include <sys/param.h>
38#include <ufs/ffs/fs.h>
39
40#ifdef KERNEL
41#include <sys/systm.h>
42#include <sys/vnode.h>

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

113 subfield <<= siz;
114 }
115 field <<= 1;
116 subfield <<= 1;
117 }
118 }
119}
120
121#if defined(KERNEL) && defined(DIAGNOSTIC)
121#if defined(KERNEL) && defined(DIAGNOSTIC) && defined(DDB)
122void
123ffs_checkoverlap(bp, ip)
124 struct buf *bp;
125 struct inode *ip;
126{
127 register struct buf *ebp, *ep;
128 register daddr_t start, last;
129 struct vnode *vp;

--- 111 unchanged lines hidden ---
122void
123ffs_checkoverlap(bp, ip)
124 struct buf *bp;
125 struct inode *ip;
126{
127 register struct buf *ebp, *ep;
128 register daddr_t start, last;
129 struct vnode *vp;

--- 111 unchanged lines hidden ---