* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- free(ip, bno + numfrags(fs, nsize),
+ blkfree(ip, bno + numfrags(fs, nsize),
* free map. If a fragment is deallocated, a possible
* block reassembly is checked.
*/
* free map. If a fragment is deallocated, a possible
* block reassembly is checked.
*/
if ((unsigned)size > fs->fs_bsize || fragoff(fs, size) != 0) {
printf("dev = 0x%x, bsize = %d, size = %d, fs = %s\n",
ip->i_dev, fs->fs_bsize, size, fs->fs_fsmnt);
if ((unsigned)size > fs->fs_bsize || fragoff(fs, size) != 0) {
printf("dev = 0x%x, bsize = %d, size = %d, fs = %s\n",
ip->i_dev, fs->fs_bsize, size, fs->fs_fsmnt);
if (isblock(fs, cgp->cg_free, fragstoblks(fs, bno))) {
printf("dev = 0x%x, block = %d, fs = %s\n",
ip->i_dev, bno, fs->fs_fsmnt);
if (isblock(fs, cgp->cg_free, fragstoblks(fs, bno))) {
printf("dev = 0x%x, block = %d, fs = %s\n",
ip->i_dev, bno, fs->fs_fsmnt);
}
setblock(fs, cgp->cg_free, fragstoblks(fs, bno));
cgp->cg_cs.cs_nbfree++;
}
setblock(fs, cgp->cg_free, fragstoblks(fs, bno));
cgp->cg_cs.cs_nbfree++;
if (isset(cgp->cg_free, bno + i)) {
printf("dev = 0x%x, block = %d, fs = %s\n",
ip->i_dev, bno + i, fs->fs_fsmnt);
if (isset(cgp->cg_free, bno + i)) {
printf("dev = 0x%x, block = %d, fs = %s\n",
ip->i_dev, bno + i, fs->fs_fsmnt);