From 5d4ed9614fad523fafd6e8a7705847b624a005fe Mon Sep 17 00:00:00 2001 From: Matthew Ahrens Date: Thu, 23 Apr 2020 15:53:14 -0700 Subject: change libspl list member names to match kernel This aids in debugging, so that we can use the same infrastructure to walk zfs's list_t in the kernel module and in the userland libraries (e.g. when debugging ztest). Reviewed-by: Serapheim Dimitropoulos Reviewed-by: Brian Behlendorf Signed-off-by: Matthew Ahrens Closes #10236 --- lib/libspl/include/sys/list_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libspl/include') diff --git a/lib/libspl/include/sys/list_impl.h b/lib/libspl/include/sys/list_impl.h index a6614f9a3..b5655b972 100644 --- a/lib/libspl/include/sys/list_impl.h +++ b/lib/libspl/include/sys/list_impl.h @@ -34,8 +34,8 @@ extern "C" { #endif struct list_node { - struct list_node *list_next; - struct list_node *list_prev; + struct list_node *next; + struct list_node *prev; }; struct list { -- cgit v1.2.3