[BACK]Return to tty_ptm.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/tty_ptm.c between version 1.21 and 1.22

version 1.21, 2007/11/26 19:02:05 version 1.22, 2008/01/02 11:48:55
Line 224  pty_grant_slave(struct lwp *l, dev_t dev
Line 224  pty_grant_slave(struct lwp *l, dev_t dev
                         return error;                          return error;
                 }                  }
         }          }
         simple_lock(&vp->v_interlock);          mutex_enter(&vp->v_interlock);
         revoke = (vp->v_usecount > 1 || (vp->v_iflag & VI_ALIASED) ||          revoke = (vp->v_usecount > 1 || (vp->v_iflag & VI_ALIASED) ||
             (vp->v_iflag & VI_LAYER));              (vp->v_iflag & VI_LAYER));
         simple_unlock(&vp->v_interlock);          mutex_exit(&vp->v_interlock);
         VOP_UNLOCK(vp, 0);          VOP_UNLOCK(vp, 0);
         if (revoke)          if (revoke)
                 VOP_REVOKE(vp, REVOKEALL);                  VOP_REVOKE(vp, REVOKEALL);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

CVSweb <webmaster@jp.NetBSD.org>