Minor cleanups.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2011-10-27 20:15:37 +00:00
parent 43b8675beb
commit 3f5bce1822
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226857

View File

@ -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);