lkml.org 
[lkml]   [2017]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: nvmet_fc: add defer_req callback for deferment of cmd buffer return
On Mon, Aug 14, 2017 at 10:19:24AM -0400, Dave Jones wrote:
> > +
> > + /* Cleanup defer'ed IOs in queue */
> > + list_for_each_entry(deferfcp, &queue->avail_defer_list, req_list) {
> > + list_del(&deferfcp->req_list);
> > + kfree(deferfcp);
> > + }
>
> Shouldn't this be list_for_each_entry_safe ?

It should. James, can you send a fixup?

\
 
 \ /
  Last update: 2017-08-14 18:39    [W:0.040 / U:11.768 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site