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 <serapheim@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #10236
This commit is contained in:
Matthew Ahrens
2020-04-23 15:53:14 -07:00
committed by GitHub
parent 196bee4cfd
commit 5d4ed9614f
2 changed files with 40 additions and 41 deletions
+2 -2
View File
@@ -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 {