aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl/include/sys
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2020-04-23 15:53:14 -0700
committerGitHub <[email protected]>2020-04-23 15:53:14 -0700
commit5d4ed9614fad523fafd6e8a7705847b624a005fe (patch)
treed4e43c035ab4f67fde2bfad1d1c429fe73ae6fa0 /lib/libspl/include/sys
parent196bee4cfd576fb15baa6a64ad6501c594f45497 (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #10236
Diffstat (limited to 'lib/libspl/include/sys')
-rw-r--r--lib/libspl/include/sys/list_impl.h4
1 files changed, 2 insertions, 2 deletions
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 {