summaryrefslogtreecommitdiff
path: root/libbcachefs/acl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/acl.h')
-rw-r--r--libbcachefs/acl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbcachefs/acl.h b/libbcachefs/acl.h
index b721330e..a66338d4 100644
--- a/libbcachefs/acl.h
+++ b/libbcachefs/acl.h
@@ -52,10 +52,16 @@ static inline int bch2_acl_count(size_t size)
struct posix_acl;
extern struct posix_acl *bch2_get_acl(struct inode *, int);
+extern int __bch2_set_acl(struct inode *, struct posix_acl *, int);
extern int bch2_set_acl(struct inode *, struct posix_acl *, int);
#else
+static inline int __bch2_set_acl(struct inode *inode, struct posix_acl *acl, int type)
+{
+ return 0;
+}
+
static inline int bch2_set_acl(struct inode *inode, struct posix_acl *acl, int type)
{
return 0;