io_uring: kill sqo_dead and sqo submission halting
[linux-2.6-microblaze.git] / fs / orangefs / acl.c
index a25e6c8..18852b9 100644 (file)
@@ -116,7 +116,8 @@ out:
        return error;
 }
 
-int orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type)
+int orangefs_set_acl(struct user_namespace *mnt_userns, struct inode *inode,
+                    struct posix_acl *acl, int type)
 {
        int error;
        struct iattr iattr;
@@ -132,7 +133,8 @@ int orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type)
                 * and "mode" to the new desired value. It is up to
                 * us to propagate the new mode back to the server...
                 */
-               error = posix_acl_update_mode(inode, &iattr.ia_mode, &acl);
+               error = posix_acl_update_mode(&init_user_ns, inode,
+                                             &iattr.ia_mode, &acl);
                if (error) {
                        gossip_err("%s: posix_acl_update_mode err: %d\n",
                                   __func__,