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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"