diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2007-03-26 21:56:46 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2007-03-26 21:56:46 +0000 |
| commit | 6455de00297f7807cebd5b9a070aef255067d903 (patch) | |
| tree | 41af858685ac59e44eb984517f378bf7d7e0769d /sys/fs | |
| parent | 5acbef6ae59af0cdeb957b916ae60f41d35f569a (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/devfs/devfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index dc39e6703ca7..b19a75ab7b87 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -502,7 +502,7 @@ devfs_ioctl_f(struct file *fp, u_long com, void *data, struct ucred *cred, struc return (0); } - mtx_lock(&Giant); + mtx_lock(&Giant); /* XXX TTY */ vpold = td->td_proc->p_session->s_ttyvp; VREF(vp); @@ -515,7 +515,7 @@ devfs_ioctl_f(struct file *fp, u_long com, void *data, struct ucred *cred, struc /* Get rid of reference to old control tty */ if (vpold) vrele(vpold); - mtx_unlock(&Giant); + mtx_unlock(&Giant); /* XXX TTY */ } return (error); } |
