Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bend zpl_set_acl to permit the new userns* parameter. #12093

Merged
merged 1 commit into from
May 27, 2021

Conversation

rincebrain
Copy link
Contributor

Motivation and Context

#12076

Description

Just like #12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused #12076.

Wrap zpl_set_acl with zpl_set_acl2, and add a new configure test for
the new version.

How Has This Been Tested?

Without it, the test case from #12076 fails on 5.12.0 and works on 5.10.0 (on Debian sid) with the same codebase. With it, 5.12.0 and 5.10.0 both work.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

@ahrens ahrens assigned jwk404 and tonynguien and unassigned jwk404 and tonynguien May 20, 2021
Copy link
Contributor

@behlendorf behlendorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sorting this one out too!

config/kernel-acl.m4 Show resolved Hide resolved
module/os/linux/zfs/zpl_inode.c Outdated Show resolved Hide resolved
@behlendorf behlendorf added the Status: Code Review Needed Ready for review and testing label May 21, 2021
@rincebrain rincebrain force-pushed the 12076 branch 2 times, most recently from 8cb4221 to d48f1cd Compare May 22, 2021 22:44
module/os/linux/zfs/zpl_xattr.c Outdated Show resolved Hide resolved
Just like openzfs#12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused openzfs#12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Closes: openzfs#12076

Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels May 27, 2021
@behlendorf behlendorf merged commit ba646e3 into openzfs:master May 27, 2021
BtbN pushed a commit to BtbN/zfs that referenced this pull request May 27, 2021
Just like openzfs#12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused openzfs#12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#12076
Closes openzfs#12093
BtbN pushed a commit to BtbN/zfs that referenced this pull request May 27, 2021
Just like openzfs#12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused openzfs#12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#12076
Closes openzfs#12093
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request May 28, 2021
Just like openzfs#12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused openzfs#12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#12076
Closes openzfs#12093
sempervictus pushed a commit to sempervictus/zfs that referenced this pull request May 31, 2021
Just like openzfs#12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused openzfs#12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#12076
Closes openzfs#12093
tonyhutter pushed a commit that referenced this pull request Jun 1, 2021
Just like #12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused #12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12076
Closes #12093
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Jun 2, 2021
Just like openzfs#12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused openzfs#12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#12076
Closes openzfs#12093
tonyhutter pushed a commit that referenced this pull request Jun 23, 2021
Just like #12087, the set_acl signature changed with all the bolted-on
*userns parameters, which disabled set_acl usage, and caused #12076.

Turn zpl_set_acl into zpl_set_acl and zpl_set_acl_impl, and add a
new configure test for the new version.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12076
Closes #12093
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants