We don't even need Giant here. It isn't protecting anything internal

to geom, and nothing we call requires it to be held. It's left over
from a time when the latter wasn't the case. Retire it.

Reviewed in concept: scottl@
This commit is contained in:
Warner Losh 2019-11-23 23:44:00 +00:00
parent dd615d09c4
commit 283a5a3796
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355038

View File

@ -68,7 +68,7 @@ static d_ioctl_t g_ctl_ioctl;
static struct cdevsw g_ctl_cdevsw = {
.d_version = D_VERSION,
.d_flags = D_NEEDGIANT,
.d_flags = 0,
.d_ioctl = g_ctl_ioctl,
.d_name = "g_ctl",
};