Deleted Added
full compact
kern_shutdown.c (108682) kern_shutdown.c (110585)
1/*-
2 * Copyright (c) 1986, 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
1/*-
2 * Copyright (c) 1986, 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
39 * $FreeBSD: head/sys/kern/kern_shutdown.c 108682 2003-01-04 20:54:58Z phk $
39 * $FreeBSD: head/sys/kern/kern_shutdown.c 110585 2003-02-09 11:56:13Z jeff $
40 */
41
42#include "opt_ddb.h"
43#include "opt_ddb_trace.h"
44#include "opt_ddb_unattended.h"
45#include "opt_hw_wdog.h"
46#include "opt_mac.h"
47#include "opt_panic.h"

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

321 if (bp->b_dev == NODEV) {
322 TAILQ_REMOVE(&mountlist,
323 bp->b_vp->v_mount, mnt_list);
324 continue;
325 }
326 nbusy++;
327#if defined(SHOW_BUSYBUFS) || defined(DIAGNOSTIC)
328 printf(
40 */
41
42#include "opt_ddb.h"
43#include "opt_ddb_trace.h"
44#include "opt_ddb_unattended.h"
45#include "opt_hw_wdog.h"
46#include "opt_mac.h"
47#include "opt_panic.h"

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

321 if (bp->b_dev == NODEV) {
322 TAILQ_REMOVE(&mountlist,
323 bp->b_vp->v_mount, mnt_list);
324 continue;
325 }
326 nbusy++;
327#if defined(SHOW_BUSYBUFS) || defined(DIAGNOSTIC)
328 printf(
329 "%d: dev:%s, flags:%08lx, blkno:%ld, lblkno:%ld\n",
329 "%d: dev:%s, flags:%0x, blkno:%ld, lblkno:%ld\n",
330 nbusy, devtoname(bp->b_dev),
331 bp->b_flags, (long)bp->b_blkno,
332 (long)bp->b_lblkno);
333#endif
334 }
335 }
336 if (nbusy) {
337 /*

--- 268 unchanged lines hidden ---
330 nbusy, devtoname(bp->b_dev),
331 bp->b_flags, (long)bp->b_blkno,
332 (long)bp->b_lblkno);
333#endif
334 }
335 }
336 if (nbusy) {
337 /*

--- 268 unchanged lines hidden ---