summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1998-06-11 17:44:32 +0000
committerJulian Elischer <julian@FreeBSD.org>1998-06-11 17:44:32 +0000
commit6d0ba4428853c60d3f1ae2e411c99599a20bd853 (patch)
treebfb923627eb14e3d0102c2f2af08e8c5c1cd7cca
parente0269ee77c901228c74a0bced156d874798c59c1 (diff)
Notes
-rw-r--r--contrib/sys/softupdates/ffs_softdep.c8
-rw-r--r--sys/contrib/softupdates/ffs_softdep.c8
-rw-r--r--sys/ufs/ffs/ffs_softdep.c8
3 files changed, 12 insertions, 12 deletions
diff --git a/contrib/sys/softupdates/ffs_softdep.c b/contrib/sys/softupdates/ffs_softdep.c
index 8ba43f5773a3..438314f87431 100644
--- a/contrib/sys/softupdates/ffs_softdep.c
+++ b/contrib/sys/softupdates/ffs_softdep.c
@@ -54,7 +54,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_softdep.c 9.23 (McKusick) 2/20/98
- * $Id: ffs_softdep.c,v 1.8 1998/06/10 20:03:16 julian Exp $
+ * $Id: ffs_softdep.c,v 1.9 1998/06/10 20:45:46 julian Exp $
*/
/*
@@ -1667,7 +1667,7 @@ softdep_setup_freeblocks(ip, length)
bp = LIST_FIRST(&vp->v_dirtyblkhd);
(void) inodedep_lookup(fs, ip->i_number, 0, &inodedep);
deallocate_dependencies(bp, inodedep);
- bp->b_flags |= B_INVAL;
+ bp->b_flags |= B_INVAL | B_NOCACHE;
brelse(bp);
}
/*
@@ -2042,7 +2042,7 @@ indir_trunc(ip, dbn, level, lbn, countp)
ffs_blkfree(ip, nb, fs->fs_bsize);
*countp += nblocks;
}
- bp->b_flags |= B_INVAL;
+ bp->b_flags |= B_INVAL | B_NOCACHE;
bp->b_flags &= ~B_XXX;
brelse(bp);
return (allerror);
@@ -2635,7 +2635,7 @@ softdep_disk_io_initiation(bp)
*/
if (LIST_FIRST(&indirdep->ir_deplisthd) == NULL) {
indirdep->ir_savebp->b_flags &= ~B_XXX;
- indirdep->ir_savebp->b_flags |= B_INVAL;
+ indirdep->ir_savebp->b_flags |= B_INVAL | B_NOCACHE;
brelse(indirdep->ir_savebp);
/* inline expand WORKLIST_REMOVE(wk); */
wk->wk_state &= ~ONWORKLIST;
diff --git a/sys/contrib/softupdates/ffs_softdep.c b/sys/contrib/softupdates/ffs_softdep.c
index 8ba43f5773a3..438314f87431 100644
--- a/sys/contrib/softupdates/ffs_softdep.c
+++ b/sys/contrib/softupdates/ffs_softdep.c
@@ -54,7 +54,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_softdep.c 9.23 (McKusick) 2/20/98
- * $Id: ffs_softdep.c,v 1.8 1998/06/10 20:03:16 julian Exp $
+ * $Id: ffs_softdep.c,v 1.9 1998/06/10 20:45:46 julian Exp $
*/
/*
@@ -1667,7 +1667,7 @@ softdep_setup_freeblocks(ip, length)
bp = LIST_FIRST(&vp->v_dirtyblkhd);
(void) inodedep_lookup(fs, ip->i_number, 0, &inodedep);
deallocate_dependencies(bp, inodedep);
- bp->b_flags |= B_INVAL;
+ bp->b_flags |= B_INVAL | B_NOCACHE;
brelse(bp);
}
/*
@@ -2042,7 +2042,7 @@ indir_trunc(ip, dbn, level, lbn, countp)
ffs_blkfree(ip, nb, fs->fs_bsize);
*countp += nblocks;
}
- bp->b_flags |= B_INVAL;
+ bp->b_flags |= B_INVAL | B_NOCACHE;
bp->b_flags &= ~B_XXX;
brelse(bp);
return (allerror);
@@ -2635,7 +2635,7 @@ softdep_disk_io_initiation(bp)
*/
if (LIST_FIRST(&indirdep->ir_deplisthd) == NULL) {
indirdep->ir_savebp->b_flags &= ~B_XXX;
- indirdep->ir_savebp->b_flags |= B_INVAL;
+ indirdep->ir_savebp->b_flags |= B_INVAL | B_NOCACHE;
brelse(indirdep->ir_savebp);
/* inline expand WORKLIST_REMOVE(wk); */
wk->wk_state &= ~ONWORKLIST;
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 8ba43f5773a3..438314f87431 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -54,7 +54,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_softdep.c 9.23 (McKusick) 2/20/98
- * $Id: ffs_softdep.c,v 1.8 1998/06/10 20:03:16 julian Exp $
+ * $Id: ffs_softdep.c,v 1.9 1998/06/10 20:45:46 julian Exp $
*/
/*
@@ -1667,7 +1667,7 @@ softdep_setup_freeblocks(ip, length)
bp = LIST_FIRST(&vp->v_dirtyblkhd);
(void) inodedep_lookup(fs, ip->i_number, 0, &inodedep);
deallocate_dependencies(bp, inodedep);
- bp->b_flags |= B_INVAL;
+ bp->b_flags |= B_INVAL | B_NOCACHE;
brelse(bp);
}
/*
@@ -2042,7 +2042,7 @@ indir_trunc(ip, dbn, level, lbn, countp)
ffs_blkfree(ip, nb, fs->fs_bsize);
*countp += nblocks;
}
- bp->b_flags |= B_INVAL;
+ bp->b_flags |= B_INVAL | B_NOCACHE;
bp->b_flags &= ~B_XXX;
brelse(bp);
return (allerror);
@@ -2635,7 +2635,7 @@ softdep_disk_io_initiation(bp)
*/
if (LIST_FIRST(&indirdep->ir_deplisthd) == NULL) {
indirdep->ir_savebp->b_flags &= ~B_XXX;
- indirdep->ir_savebp->b_flags |= B_INVAL;
+ indirdep->ir_savebp->b_flags |= B_INVAL | B_NOCACHE;
brelse(indirdep->ir_savebp);
/* inline expand WORKLIST_REMOVE(wk); */
wk->wk_state &= ~ONWORKLIST;