projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lint
[unix-history]
/
usr
/
src
/
sys
/
ufs
/
lfs
/
lfs_inode.c
diff --git
a/usr/src/sys/ufs/lfs/lfs_inode.c
b/usr/src/sys/ufs/lfs/lfs_inode.c
index
eff33ba
..
3199b47
100644
(file)
--- a/
usr/src/sys/ufs/lfs/lfs_inode.c
+++ b/
usr/src/sys/ufs/lfs/lfs_inode.c
@@
-3,7
+3,7
@@
* 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.
*
- * @(#)lfs_inode.c 6.1
8
(Berkeley) %G%
+ * @(#)lfs_inode.c 6.1
9
(Berkeley) %G%
*/
#include "param.h"
*/
#include "param.h"
@@
-485,7
+485,7
@@
itrunc(oip, length)
* All whole direct blocks or frags.
*/
for (i = NDADDR - 1; i > lastblock; i--) {
* All whole direct blocks or frags.
*/
for (i = NDADDR - 1; i > lastblock; i--) {
- register
in
t bsize;
+ register
off_
t bsize;
bn = ip->i_db[i];
if (bn == 0)
bn = ip->i_db[i];
if (bn == 0)
@@
-504,7
+504,7
@@
itrunc(oip, length)
*/
bn = ip->i_db[lastblock];
if (bn != 0) {
*/
bn = ip->i_db[lastblock];
if (bn != 0) {
-
in
t oldspace, newspace;
+
off_
t oldspace, newspace;
/*
* Calculate amount of space we're giving
/*
* Calculate amount of space we're giving
@@
-609,7
+609,7
@@
indirtrunc(ip, bn, lastbn, level)
if (level > SINGLE)
blocksreleased +=
indirtrunc(ip, nb, (daddr_t)-1, level - 1);
if (level > SINGLE)
blocksreleased +=
indirtrunc(ip, nb, (daddr_t)-1, level - 1);
- free(ip, nb, (
in
t)fs->fs_bsize);
+ free(ip, nb, (
off_
t)fs->fs_bsize);
blocksreleased += nblocks;
}
blocksreleased += nblocks;
}