diff options
author | pjd <pjd@FreeBSD.org> | 2010-10-08 15:05:39 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-10-08 15:05:39 +0000 |
commit | 8243d099e8f7427fd8954ee63c5dab52760fef4f (patch) | |
tree | b249e7f9d883607231c577e49c5e62172963ee29 /sbin | |
parent | 322c5f284ccbd6d271a268a96bfbd4ce3177c5e9 (diff) | |
download | FreeBSD-src-8243d099e8f7427fd8954ee63c5dab52760fef4f.zip FreeBSD-src-8243d099e8f7427fd8954ee63c5dab52760fef4f.tar.gz |
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@gmail.com>
MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/primary.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c index f312465..aabbecf 100644 --- a/sbin/hastd/primary.c +++ b/sbin/hastd/primary.c @@ -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; |