summaryrefslogtreecommitdiff
path: root/fs/posix_acl.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2022-12-01 17:01:03 +0100
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-12-02 10:01:28 +0100
commitd6fdf29f7b99814d3673f2d9f4649262807cb836 (patch)
tree8b89c9912232026bc1d6c243b52e2d9b567de02a /fs/posix_acl.c
parente40df4281b86d5f7c1615dd9eda597675340a8d3 (diff)
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>
Diffstat (limited to 'fs/posix_acl.c')
-rw-r--r--fs/posix_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/posix_acl.c b/fs/posix_acl.c
index 989bbf280bfe..e6643db35cce 100644
--- a/fs/posix_acl.c
+++ b/fs/posix_acl.c
@@ -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;