aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-03-26 21:56:46 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-03-26 21:56:46 +0000
commit6455de00297f7807cebd5b9a070aef255067d903 (patch)
tree41af858685ac59e44eb984517f378bf7d7e0769d /sys/fs
parent5acbef6ae59af0cdeb957b916ae60f41d35f569a (diff)
Notes
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/devfs/devfs_vnops.c4
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);
}