Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9003

Linux kernel 4.8 adds user_namespace arg to posix_acl_valid

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Kernel 4.8 adds a struct user_namespace arg to posix_acl_valid:
      extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);

      This needs to be tested for and handled.

      Attachments

        Issue Links

          Activity

            [LU-9003] Linux kernel 4.8 adds user_namespace arg to posix_acl_valid
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25307/
            Subject: LU-9003 mdc: support posix_acl_valid with user namespace
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4ef449e11b1d799db70e0ae0972121e9eea776aa

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25307/ Subject: LU-9003 mdc: support posix_acl_valid with user namespace Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4ef449e11b1d799db70e0ae0972121e9eea776aa

            Thanks for the hint! I have updated the patch accordingly.

            michael.kuhn Michael Kuhn (Inactive) added a comment - Thanks for the hint! I have updated the patch accordingly.

            It might be more consistent to do this the same way that posix_acl_from_xattr and posix_acl_to_xattr are handled, in libcfs/include/libcfs/linux/linux-fs.h

            ake_s Åke Sandgren added a comment - It might be more consistent to do this the same way that posix_acl_from_xattr and posix_acl_to_xattr are handled, in libcfs/include/libcfs/linux/linux-fs.h

            By the way, this also applies to Linux 4.4 on Ubuntu 16.04 because Canonical has decided to backport this change.

            michael.kuhn Michael Kuhn (Inactive) added a comment - By the way, this also applies to Linux 4.4 on Ubuntu 16.04 because Canonical has decided to backport this change.

            Michael Kuhn (michael.kuhn@informatik.uni-hamburg.de) uploaded a new patch: https://review.whamcloud.com/25307
            Subject: LU-9003 mdc: support posix_acl_valid with user namespace
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: a7f013f31063ee100255f5c266bb20778d2c3ba2

            gerrit Gerrit Updater added a comment - Michael Kuhn (michael.kuhn@informatik.uni-hamburg.de) uploaded a new patch: https://review.whamcloud.com/25307 Subject: LU-9003 mdc: support posix_acl_valid with user namespace Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a7f013f31063ee100255f5c266bb20778d2c3ba2

            People

              wc-triage WC Triage
              ake_s Åke Sandgren
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: