diff options
author | Matthew Ahrens <[email protected]> | 2020-04-23 15:53:14 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-23 15:53:14 -0700 |
commit | 5d4ed9614fad523fafd6e8a7705847b624a005fe (patch) | |
tree | d4e43c035ab4f67fde2bfad1d1c429fe73ae6fa0 /lib/libspl/include/sys | |
parent | 196bee4cfd576fb15baa6a64ad6501c594f45497 (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.h | 4 |
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 { |