diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-09-26 18:19:46 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-09-26 19:50:47 -0400 |
commit | e61b61c03bf1f1eedc5e2dbd6887f77e45144a31 (patch) | |
tree | 2c76026f16805aa1a3e15bab77415b7e7f84131b /libbcachefs/acl.h | |
parent | 9942fc82d43baf261342d2550cd22609bf4f81b1 (diff) |
Update bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletion
Diffstat (limited to 'libbcachefs/acl.h')
-rw-r--r-- | libbcachefs/acl.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libbcachefs/acl.h b/libbcachefs/acl.h index 25fc54dd..2ad214bd 100644 --- a/libbcachefs/acl.h +++ b/libbcachefs/acl.h @@ -28,25 +28,24 @@ typedef struct { struct posix_acl *bch2_get_acl(struct inode *, int); -int bch2_set_acl_trans(struct btree_trans *, +int bch2_set_acl_trans(struct btree_trans *, subvol_inum, struct bch_inode_unpacked *, - const struct bch_hash_info *, struct posix_acl *, int); int bch2_set_acl(struct user_namespace *, struct inode *, struct posix_acl *, int); -int bch2_acl_chmod(struct btree_trans *, struct bch_inode_unpacked *, +int bch2_acl_chmod(struct btree_trans *, subvol_inum, + struct bch_inode_unpacked *, umode_t, struct posix_acl **); #else -static inline int bch2_set_acl_trans(struct btree_trans *trans, +static inline int bch2_set_acl_trans(struct btree_trans *trans, subvol_inum inum, struct bch_inode_unpacked *inode_u, - const struct bch_hash_info *hash_info, struct posix_acl *acl, int type) { return 0; } -static inline int bch2_acl_chmod(struct btree_trans *trans, +static inline int bch2_acl_chmod(struct btree_trans *trans, subvol_inum inum, struct bch_inode_unpacked *inode, umode_t mode, struct posix_acl **new_acl) |