aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2001-04-25 10:33:09 +0000
committerBruce Evans <bde@FreeBSD.org>2001-04-25 10:33:09 +0000
commite8a28f87d8534128f64ea89d9e5e4493d8175581 (patch)
tree2a0ac6f7e0ea68bd51d80db8bfae787f06ccb54f /sys/gnu
parentebdc3f1d2dd4c2488f54f141fa29bd7a424d8261 (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_balloc.c2
-rw-r--r--sys/gnu/fs/ext2fs/ext2_balloc.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/gnu/ext2fs/ext2_balloc.c b/sys/gnu/ext2fs/ext2_balloc.c
index 75c17e5ad9700..559f4a61730a2 100644
--- a/sys/gnu/ext2fs/ext2_balloc.c
+++ b/sys/gnu/ext2fs/ext2_balloc.c
@@ -111,6 +111,7 @@ ext2_debug("ext2_balloc called (%d, %d, %d)\n",
brelse(bp);
return (error);
}
+ bp->b_blkno = fsbtodb(fs, nb);
*bpp = bp;
return (0);
}
@@ -126,6 +127,7 @@ ext2_debug("ext2_balloc called (%d, %d, %d)\n",
brelse(bp);
return (error);
}
+ bp->b_blkno = fsbtodb(fs, nb);
} else {
/* Godmar thinks: this shouldn't happen w/o fragments */
printf("nsize %d(%d) > osize %d(%d) nb %d\n",
diff --git a/sys/gnu/fs/ext2fs/ext2_balloc.c b/sys/gnu/fs/ext2fs/ext2_balloc.c
index 75c17e5ad9700..559f4a61730a2 100644
--- a/sys/gnu/fs/ext2fs/ext2_balloc.c
+++ b/sys/gnu/fs/ext2fs/ext2_balloc.c
@@ -111,6 +111,7 @@ ext2_debug("ext2_balloc called (%d, %d, %d)\n",
brelse(bp);
return (error);
}
+ bp->b_blkno = fsbtodb(fs, nb);
*bpp = bp;
return (0);
}
@@ -126,6 +127,7 @@ ext2_debug("ext2_balloc called (%d, %d, %d)\n",
brelse(bp);
return (error);
}
+ bp->b_blkno = fsbtodb(fs, nb);
} else {
/* Godmar thinks: this shouldn't happen w/o fragments */
printf("nsize %d(%d) > osize %d(%d) nb %d\n",