/* Unmount at least one. */
for (vmp = &vmnt[0]; vmp < &vmnt[NR_MNTS]; vmp++) {
if (vmp->m_dev != NO_DEV) {
- printf("VFS: pm_reboot: unmount 0x%x, FS %d\n",
- vmp->m_dev, vmp->m_fs_e);
CHECK_VREFS;
(void) unmount(vmp->m_dev);
CHECK_VREFS;
#if 1
int i;
struct fproc *tfp;
- printf("unmount: vnode 0x%x/%d in use %d times\n",
- dev, vp->v_inode_nr, vp->v_ref_count);
+ if(!(vp->v_inode_nr == 1 && vp->v_ref_count == 1)) {
+ printf("unmount: vnode 0x%x/%d in use %d times\n",
+ dev, vp->v_inode_nr, vp->v_ref_count);
+ }
for (i= 0, tfp= fproc; i<NR_PROCS; i++, tfp++) {
int n;
if (tfp->fp_pid == PID_FREE)
printf("\tvnode %d: is a mount point\n",
vp->v_inode_nr);
}
+#if 0
if(vmp_i->m_root_node == vp) {
printf("\tvnode %d: is a root node\n",
vp->v_inode_nr);
}
+#endif
}
}
#endif
if (m_in.nbytes < 0)
return(EINVAL);
- if ((f = get_filp(m_in.fd)) == NIL_FILP)
- {
- printf("vfs:read_write: returning %d to endpoint %d\n",
- err_code, who_e);
+ if ((f = get_filp(m_in.fd)) == NIL_FILP) {
return(err_code);
}
if (((f->filp_mode) & (rw_flag == READING ? R_BIT : W_BIT)) == 0) {