Return to init_main.c CVS log | 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. |
version 1.537, 2022/03/18 23:37:06 | version 1.538, 2022/03/19 13:51:35 | ||
---|---|---|---|
|
|
||
if (vp == NULL) | if (vp == NULL) | ||
return; | return; | ||
VOP_UNLOCK(vp); | |||
error = VOP_IOCTL(vp, DIOCGDINFO, &label, FREAD, NOCRED); | error = VOP_IOCTL(vp, DIOCGDINFO, &label, FREAD, NOCRED); | ||
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); | |||
VOP_CLOSE(vp, FREAD, NOCRED); | VOP_CLOSE(vp, FREAD, NOCRED); | ||
vput(vp); | vput(vp); | ||
if (error) | if (error) |