aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-21 18:44:04 +0100
committerBrian Behlendorf <[email protected]>2021-12-23 09:36:45 -0800
commit2c1988e96f0825411ca333f0acc45c80d1cc6dd4 (patch)
tree805e5971d288750078a39726c113c42fff91d5d5 /module/zfs
parent89495a427fca15dbeda7ae0f6a1b73954c54ca48 (diff)
module: zfs: multilist: shim out multilist_d2l()
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12844
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/multilist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/multilist.c b/module/zfs/multilist.c
index 8bbc9b376..bad1674d2 100644
--- a/module/zfs/multilist.c
+++ b/module/zfs/multilist.c
@@ -36,6 +36,8 @@ multilist_d2l(multilist_t *ml, void *obj)
{
return ((multilist_node_t *)((char *)obj + ml->ml_offset));
}
+#else
+#define multilist_d2l(ml, obj) ((void) sizeof (ml), (void) sizeof (obj), NULL)
#endif
/*