fs: port ->get_acl() to pass mnt_idmap
[sfrench/cifs-2.6.git] / fs / ecryptfs / inode.c
index cf85901d7a5de9a96b8cd97098db1a3290346530..8487ac0cc2395110aa8337ab84fed2872b0cf16b 100644 (file)
@@ -1122,10 +1122,10 @@ static int ecryptfs_fileattr_set(struct user_namespace *mnt_userns,
        return rc;
 }
 
-static struct posix_acl *ecryptfs_get_acl(struct user_namespace *mnt_userns,
+static struct posix_acl *ecryptfs_get_acl(struct mnt_idmap *idmap,
                                          struct dentry *dentry, int type)
 {
-       return vfs_get_acl(mnt_userns, ecryptfs_dentry_to_lower(dentry),
+       return vfs_get_acl(idmap, ecryptfs_dentry_to_lower(dentry),
                           posix_acl_xattr_name(type));
 }