posix_acl: Fix the type of sentinel in get_acl

The type should be struct posix_acl * instead of void *.

Cc: Christian Brauner <brauner@kernel.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
This commit is contained in:
Uros Bizjak 2022-12-01 17:01:03 +01:00 committed by Christian Brauner (Microsoft)
parent e40df4281b
commit d6fdf29f7b
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -115,7 +115,7 @@ static struct posix_acl *__get_acl(struct user_namespace *mnt_userns,
struct dentry *dentry, struct inode *inode,
int type)
{
void *sentinel;
struct posix_acl *sentinel;
struct posix_acl **p;
struct posix_acl *acl;