cvs commit: src/sys/kern vfs_mount.c
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Oct 26 09:40:32 PDT 2004
In message <200410261219.03262.jhb at FreeBSD.org>, John Baldwin writes:
>On Saturday 23 October 2004 04:21 pm, Poul-Henning Kamp wrote:
>> phk 2004-10-23 20:21:05 UTC
>>
>> FreeBSD src repository
>>
>> Modified files:
>> sys/kern vfs_mount.c
>> Log:
>> Drop Giant around the call to g_waitidle().
>> This is necessary to allow any geom events which need it to pick up
>> Giant.
>
>tsleep() already automatically drops Giant for you, so this is not required
>for geom events to run.
Duh! I was wondering why it hadn't deadlocked...
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the cvs-src
mailing list