Re: [GIT PULL] iomap: new code for 5.4

From: Linus Torvalds
Date: Thu Sep 19 2019 - 13:05:07 EST


On Thu, Sep 19, 2019 at 10:03 AM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> So inside of xfs, that "pop ioend from the list" model really may make
> perfect sense, and you could just do
>
> static inline struct xfs_ioend *xfs_pop_ioend(struct list_head *head)

Note that as usual, my code in emails is written in the MUA, entirely
untested, and may be completely broken.

So take it just as a "maybe something like this works for you".

Linus