linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] posix_acl: Fix the type of sentinel in get_acl
@ 2022-12-01 16:01 Uros Bizjak
  2022-12-02  9:14 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Uros Bizjak @ 2022-12-01 16:01 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel
  Cc: Uros Bizjak, Christian Brauner, Alexander Viro

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>
---
 fs/posix_acl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/posix_acl.c b/fs/posix_acl.c
index 74dc0f571dc9..3dadc37638a8 100644
--- a/fs/posix_acl.c
+++ b/fs/posix_acl.c
@@ -108,7 +108,7 @@ EXPORT_SYMBOL(forget_all_cached_acls);
 
 struct posix_acl *get_acl(struct inode *inode, int type)
 {
-	void *sentinel;
+	struct posix_acl *sentinel;
 	struct posix_acl **p;
 	struct posix_acl *acl;
 
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] posix_acl: Fix the type of sentinel in get_acl
  2022-12-01 16:01 [PATCH] posix_acl: Fix the type of sentinel in get_acl Uros Bizjak
@ 2022-12-02  9:14 ` Christian Brauner
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2022-12-02  9:14 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel, Uros Bizjak
  Cc: Christian Brauner, Alexander Viro, Seth Forshee

From: Christian Brauner (Microsoft) <brauner@kernel.org>

On Thu, 1 Dec 2022 17:01:03 +0100, Uros Bizjak wrote:
> The type should be struct posix_acl * instead of void *.
> 
> 

Applied, thanks!

[1/1] posix_acl: Fix the type of sentinel in get_acl
      commit: d6fdf29f7b99814d3673f2d9f4649262807cb836

Christian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-02  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-01 16:01 [PATCH] posix_acl: Fix the type of sentinel in get_acl Uros Bizjak
2022-12-02  9:14 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).