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
delete VERBOSE #ifdef's
[unix-history]
/
usr
/
src
/
sys
/
ufs
/
lfs
/
lfs_alloc.c
diff --git
a/usr/src/sys/ufs/lfs/lfs_alloc.c
b/usr/src/sys/ufs/lfs/lfs_alloc.c
index
817637f
..
09c0a5d
100644
(file)
--- a/
usr/src/sys/ufs/lfs/lfs_alloc.c
+++ b/
usr/src/sys/ufs/lfs/lfs_alloc.c
@@
-4,7
+4,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)lfs_alloc.c 7.5
0
(Berkeley) %G%
+ * @(#)lfs_alloc.c 7.5
1
(Berkeley) %G%
*/
#include <sys/param.h>
*/
#include <sys/param.h>
@@
-47,9
+47,6
@@
lfs_valloc(ap)
u_long i, max;
int error;
u_long i, max;
int error;
-#ifdef VERBOSE
- printf("lfs_valloc\n");
-#endif
/* Get the head of the freelist. */
fs = VTOI(ap->a_pvp)->i_lfs;
new_ino = fs->lfs_free;
/* Get the head of the freelist. */
fs = VTOI(ap->a_pvp)->i_lfs;
new_ino = fs->lfs_free;
@@
-136,9
+133,6
@@
lfs_vcreate(mp, ino, vpp)
struct ufsmount *ump;
int error, i;
struct ufsmount *ump;
int error, i;
-#ifdef VERBOSE
- printf("lfs_vcreate: ino %d\n", ino);
-#endif
/* Create the vnode. */
if (error = getnewvnode(VT_LFS, mp, lfs_vnodeop_p, vpp)) {
*vpp = NULL;
/* Create the vnode. */
if (error = getnewvnode(VT_LFS, mp, lfs_vnodeop_p, vpp)) {
*vpp = NULL;
@@
-187,11
+181,8
@@
lfs_vfree(ap)
daddr_t old_iaddr;
ino_t ino;
daddr_t old_iaddr;
ino_t ino;
- ip = VTOI(ap->a_pvp);
-#ifdef VERBOSE
- printf("lfs_vfree: free %d\n", ip->i_number);
-#endif
/* Get the inode number and file system. */
/* Get the inode number and file system. */
+ ip = VTOI(ap->a_pvp);
fs = ip->i_lfs;
ino = ip->i_number;
fs = ip->i_lfs;
ino = ip->i_number;