On Mon, Jun 11, 2018 at 12:20:02PM +0200, Jan Kara wrote: > Use list_first_entry() and list_empty() instead of opencoded variants. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Reviewed-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
On Mon, Jun 11, 2018 at 12:20:02PM +0200, Jan Kara wrote: > Use list_first_entry() and list_empty() instead of opencoded variants. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Reviewed-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>