svn commit: r213580 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Oct 8 15:05:39 UTC 2010
Author: pjd
Date: Fri Oct 8 15:05:39 2010
New Revision: 213580
URL: http://svn.freebsd.org/changeset/base/213580
Log:
We can't zero out ggio request, as we have some fields in there we initialize
once during start-up.
Reported by: Mikolaj Golub <to.my.trociny at gmail.com>
MFC after: 3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
==============================================================================
--- head/sbin/hastd/primary.c Fri Oct 8 15:02:15 2010 (r213579)
+++ head/sbin/hastd/primary.c Fri Oct 8 15:05:39 2010 (r213580)
@@ -930,7 +930,6 @@ ggate_recv_thread(void *arg)
QUEUE_TAKE2(hio, free);
pjdlog_debug(2, "ggate_recv: (%p) Got free request.", hio);
ggio = &hio->hio_ggio;
- bzero(ggio, sizeof(*ggio));
ggio->gctl_unit = res->hr_ggateunit;
ggio->gctl_length = MAXPHYS;
ggio->gctl_error = 0;
More information about the svn-src-head
mailing list