PERFORCE change 122761 for review
Roman Divacky
rdivacky at FreeBSD.org
Tue Jul 3 10:39:19 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122761
Change 122761 by rdivacky at rdivacky_witten on 2007/07/03 10:38:33
Actually LOCK Giant and not just check for this beeing needed and do this
before VOP_LOCK.
Suggested by: kib
Affected files ...
.. //depot/projects/soc2007/rdivacky/linux_at/sys/kern/kern_exec.c#11 edit
Differences ...
==== //depot/projects/soc2007/rdivacky/linux_at/sys/kern/kern_exec.c#11 (text+ko) ====
@@ -394,8 +394,8 @@
error = fgetvp(td, args->fd, &binvp);
if (error)
goto exec_fail;
+ vfslocked = VFS_LOCK_GIANT(binvp->v_mount);
VOP_LOCK(binvp, LK_EXCLUSIVE, td);
- vfslocked = VFS_NEEDSGIANT(binvp->v_mount);
imgp->vp = binvp;
}
More information about the p4-projects
mailing list