[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
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