Skip to content

Commit

Permalink
posix_acl: Fix the type of sentinel in get_acl
Browse files Browse the repository at this point in the history
The type should be struct posix_acl * instead of void *.

Cc: Christian Brauner <[email protected]>
Cc: Alexander Viro <[email protected]>
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Christian Brauner (Microsoft) <[email protected]>
  • Loading branch information
ubizjak authored and brauner committed Dec 2, 2022
1 parent e40df42 commit d6fdf29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/posix_acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d6fdf29

Please sign in to comment.