Date: Thu, 27 Oct 2011 20:15:37 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r226857 - head/sbin/hastd Message-ID: <201110272015.p9RKFbJ1023351@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Thu Oct 27 20:15:37 2011 New Revision: 226857 URL: http://svn.freebsd.org/changeset/base/226857 Log: Minor cleanups. MFC after: 3 days Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c ============================================================================== --- head/sbin/hastd/primary.c Thu Oct 27 20:13:39 2011 (r226856) +++ head/sbin/hastd/primary.c Thu Oct 27 20:15:37 2011 (r226857) @@ -1556,6 +1556,7 @@ remote_recv_thread(void *arg) &hio_recv_list_lock[ncomp]); } mtx_unlock(&hio_recv_list_lock[ncomp]); + rw_rlock(&hio_remote_lock[ncomp]); if (!ISCONNECTED(res, ncomp)) { rw_unlock(&hio_remote_lock[ncomp]); @@ -1963,7 +1964,7 @@ sync_thread(void *arg __unused) } mtx_unlock(&metadata_lock); - pjdlog_debug(2, "sync: (%p) Moving request to the send queues.", + pjdlog_debug(2, "sync: (%p) Moving request to the send queue.", hio); refcount_init(&hio->hio_countdown, 1); QUEUE_INSERT1(hio, send, ncomp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110272015.p9RKFbJ1023351>