[lustre-devel] [PATCH 08/21] lustre: use list_first_entry() throughout
Andreas Dilger
adilger at whamcloud.com
Thu Feb 7 17:06:23 PST 2019
> On Feb 6, 2019, at 17:03, NeilBrown <neilb at suse.com> wrote:
>
> Convert
> list_entry(foo->next .....)
> to
> list_first_entry(foo, ....)
>
> in remainder of lustre.
>
> In several cases the call is combined with a list_empty() test and
> list_first_entry_or_null() is used
>
> Signed-off-by: NeilBrown <neilb at suse.com>
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Cheers, Andreas
---
Andreas Dilger
Principal Lustre Architect
Whamcloud
More information about the lustre-devel
mailing list