mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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:
parent
e40df4281b
commit
d6fdf29f7b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user