aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGian-Carlo DeFazio <[email protected]>2023-01-12 10:14:04 -0800
committerGitHub <[email protected]>2023-01-12 10:14:04 -0800
commit80d64bb85fcfb07b9fb57ed75bf6356239632ba2 (patch)
treebc34b7d7efecda164d725a5fc454d42638fbf1da /module
parenteee9362a72cfd615e40928e86d61747683dc9dc6 (diff)
change how d_alias is replaced by du.d_alias
d_alias may need to be converted to du.d_alias depending on the kernel version. d_alias is currently in only one place in the code which changes "hlist_for_each_entry(dentry, &inode->i_dentry, d_alias)" to "hlist_for_each_entry(dentry, &inode->i_dentry, d_u.d_alias)" as neccesary. This effectively results in a double macro expansion for code that uses the zfs headers but already has its own macro for just d_alias (lustre in this case). Remove the conditional code for hlist_for_each_entry and have a macro for "d_alias -> du.d_alias" instead. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Gian-Carlo DeFazio <[email protected]> Closes #14377
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions