Deleted Added
full compact
ffs_alloc.c (30474) ffs_alloc.c (30492)
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_alloc.c 8.18 (Berkeley) 5/26/95
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_alloc.c 8.18 (Berkeley) 5/26/95
34 * $Id: ffs_alloc.c,v 1.39 1997/10/14 18:46:41 phk Exp $
34 * $Id: ffs_alloc.c,v 1.40 1997/10/16 10:49:19 phk Exp $
35 */
36
37#include "opt_quota.h"
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/buf.h>
42#include <sys/proc.h>

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

481 if (doasyncfree)
482 bdwrite(sbp);
483 else
484 bwrite(sbp);
485 } else {
486 ip->i_flag |= IN_CHANGE | IN_UPDATE;
487 if (!doasyncfree) {
488 gettime(&tv);
35 */
36
37#include "opt_quota.h"
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/buf.h>
42#include <sys/proc.h>

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

481 if (doasyncfree)
482 bdwrite(sbp);
483 else
484 bwrite(sbp);
485 } else {
486 ip->i_flag |= IN_CHANGE | IN_UPDATE;
487 if (!doasyncfree) {
488 gettime(&tv);
489 VOP_UPDATE(vp, &tv, &tv, 1);
489 UFS_UPDATE(vp, &tv, &tv, 1);
490 }
491 }
492 if (ssize < len)
493 if (doasyncfree)
494 bdwrite(ebp);
495 else
496 bwrite(ebp);
497 /*

--- 1132 unchanged lines hidden ---
490 }
491 }
492 if (ssize < len)
493 if (doasyncfree)
494 bdwrite(ebp);
495 else
496 bwrite(ebp);
497 /*

--- 1132 unchanged lines hidden ---