]>
git.ipfire.org Git - thirdparty/linux.git/blob - fs/btrfs/acl.h
39bd36e6eeb7e0f63afc2362ce0a99b838fa1331
1 /* SPDX-License-Identifier: GPL-2.0 */
6 #ifdef CONFIG_BTRFS_FS_POSIX_ACL
8 struct posix_acl
*btrfs_get_acl(struct inode
*inode
, int type
, bool rcu
);
9 int btrfs_set_acl(struct user_namespace
*mnt_userns
, struct dentry
*dentry
,
10 struct posix_acl
*acl
, int type
);
11 int __btrfs_set_acl(struct btrfs_trans_handle
*trans
, struct inode
*inode
,
12 struct posix_acl
*acl
, int type
);
16 #define btrfs_get_acl NULL
17 #define btrfs_set_acl NULL
18 static inline int __btrfs_set_acl(struct btrfs_trans_handle
*trans
,
19 struct inode
*inode
, struct posix_acl
*acl
,