projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40df42
)
posix_acl: Fix the type of sentinel in get_acl
author
Uros Bizjak
<ubizjak@gmail.com>
Thu, 1 Dec 2022 16:01:03 +0000
(17:01 +0100)
committer
Christian Brauner (Microsoft)
<brauner@kernel.org>
Fri, 2 Dec 2022 09:01:28 +0000
(10:01 +0100)
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>
fs/posix_acl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/posix_acl.c
b/fs/posix_acl.c
index 989bbf280bfe119bdcc3a3fd0de7e3f1999f5920..e6643db35cce308fe408799528bf74fdd4510a76 100644
(file)
--- 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;