[PATCH 10/18] vfs: add rcu argument to ->get_acl() callback

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jan 11 11:58:44 UTC 2023

From: Miklos Szeredi <mszeredi at redhat.com>

Add a rcu argument to the ->get_acl() callback to allow
get_cached_acl_rcu() to call the ->get_acl() method in the next patch.

Signed-off-by: Miklos Szeredi <mszeredi at redhat.com>
 cpukit/libfs/src/jffs2/src/acl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libfs/src/jffs2/src/acl.h b/cpukit/libfs/src/jffs2/src/acl.h
index 62c50da9d4..9d9fb7cf09 100644
--- a/cpukit/libfs/src/jffs2/src/acl.h
+++ b/cpukit/libfs/src/jffs2/src/acl.h
@@ -27,7 +27,7 @@ struct jffs2_acl_header {
-struct posix_acl *jffs2_get_acl(struct inode *inode, int type);
+struct posix_acl *jffs2_get_acl(struct inode *inode, int type, bool rcu);
 int jffs2_set_acl(struct user_namespace *mnt_userns, struct inode *inode,
 		  struct posix_acl *acl, int type);
 extern int jffs2_init_acl_pre(struct inode *, struct inode *, umode_t *);

More information about the devel mailing list