mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
module: zfs: multilist: shim out multilist_d2l()
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12844
This commit is contained in:
parent
89495a427f
commit
2c1988e96f
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user