[rtems commit] vfs: add rcu argument to ->get_acl() callback

Sebastian Huber sebh at rtems.org
Thu Jan 12 07:03:00 UTC 2023


Module:    rtems
Branch:    master
Commit:    a12144e105a390733dd6c59254284c13654ecc57
Changeset: http://git.rtems.org/rtems/commit/?id=a12144e105a390733dd6c59254284c13654ecc57

Author:    Miklos Szeredi <mszeredi at redhat.com>
Date:      Wed Aug 18 22:08:24 2021 +0200

vfs: add rcu argument to ->get_acl() callback

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 {
 
 #ifdef CONFIG_JFFS2_FS_POSIX_ACL
 
-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 vc mailing list