Contributors: 13
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Josef Bacik |
44 |
38.60% |
2 |
11.11% |
Josef Whiter |
16 |
14.04% |
1 |
5.56% |
Christoph Hellwig |
13 |
11.40% |
3 |
16.67% |
Chris Mason |
12 |
10.53% |
3 |
16.67% |
Omar Sandoval |
7 |
6.14% |
1 |
5.56% |
Al Viro |
7 |
6.14% |
1 |
5.56% |
Miklos Szeredi |
3 |
2.63% |
1 |
5.56% |
Li Zefan |
3 |
2.63% |
1 |
5.56% |
Yan Zheng |
3 |
2.63% |
1 |
5.56% |
Christian Brauner |
2 |
1.75% |
1 |
5.56% |
Linus Torvalds |
2 |
1.75% |
1 |
5.56% |
Sage Weil |
1 |
0.88% |
1 |
5.56% |
David Sterba |
1 |
0.88% |
1 |
5.56% |
Total |
114 |
|
18 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BTRFS_ACL_H
#define BTRFS_ACL_H
#ifdef CONFIG_BTRFS_FS_POSIX_ACL
struct posix_acl *btrfs_get_acl(struct inode *inode, int type, bool rcu);
int btrfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
struct posix_acl *acl, int type);
int __btrfs_set_acl(struct btrfs_trans_handle *trans, struct inode *inode,
struct posix_acl *acl, int type);
#else
#define btrfs_get_acl NULL
#define btrfs_set_acl NULL
static inline int __btrfs_set_acl(struct btrfs_trans_handle *trans,
struct inode *inode, struct posix_acl *acl,
int type)
{
return -EOPNOTSUPP;
}
#endif
#endif