HomeFreeBSD

linux 6.2 compat: zpl_set_acl arg2 is now struct dentry

Description

linux 6.2 compat: zpl_set_acl arg2 is now struct dentry

Linux 6.2 changes the second argument of the set_acl operation to be a
"struct dentry *" rather than a "struct inode *". The inode* parameter
is still available as dentry->d_inode, so adjust the call to the _impl
function call to dereference and pass that pointer to it.

Also document that the get_acl -> get_inode_acl member name change from
commit 884a693 was an API change also introduced in Linux 6.2.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #14415

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Jan 24 2023, 7:20 PM
GitHub <noreply@github.com>Committed on Jan 24 2023, 7:20 PM
Parents
rG0f740a4f1dd4: Introduce minimal ZIL block commit delay
Branches
Unknown
Tags
Unknown