Thread (12 messages) 12 messages, 3 authors, 2017-08-16
STALE3248d

[PATCH 1/2] nvmet_fc: add defer_req callback for deferment of cmd buffer return

From: James Smart <hidden>
Date: 2017-08-02 14:29:45
Also in: linux-scsi

On 8/2/2017 1:16 AM, Johannes Thumshirn wrote:
quoted
+	for (;;) {
+		deferfcp = list_first_entry_or_null(&queue->pending_cmd_list,
+				struct nvmet_fc_defer_fcp_req, req_list);
+		if (!deferfcp)
+			break;
         while ((deferfcp = list_first_entry_or_null(&queue->pending_cmd_list,
				struct nvmet_fc_defer_fcp_req,
				req_list)) != NULL) {
?
To me - this is harder to read. But not a big deal.

-- james
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help