X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fjfs%2Facl.c;h=d254d6d3599565fbca59621cf840d105d9cd4971;hb=4e21fc138bfd7fe625ff5dc81541399aaf9d429b;hp=45559dc3ea2f59297f57c523a8eac2b3f40c06c6;hpb=219f358e0ba9a98640341e030533089860af1cc6;p=cascardo%2Flinux.git diff --git a/fs/jfs/acl.c b/fs/jfs/acl.c index 45559dc3ea2f..d254d6d35995 100644 --- a/fs/jfs/acl.c +++ b/fs/jfs/acl.c @@ -64,7 +64,7 @@ struct posix_acl *jfs_get_acl(struct inode *inode, int type) else acl = ERR_PTR(size); } else { - acl = posix_acl_from_xattr(value, size); + acl = posix_acl_from_xattr(&init_user_ns, value, size); } kfree(value); if (!IS_ERR(acl)) @@ -100,7 +100,7 @@ static int jfs_set_acl(tid_t tid, struct inode *inode, int type, value = kmalloc(size, GFP_KERNEL); if (!value) return -ENOMEM; - rc = posix_acl_to_xattr(acl, value, size); + rc = posix_acl_to_xattr(&init_user_ns, acl, value, size); if (rc < 0) goto out; }