/* SPDX-License-Identifier: GPL-2.0 */ /* File: fs/ext2/acl.h (C) 2001 Andreas Gruenbacher, <a.gruenbacher@computer.org> */ #include <linux/posix_acl_xattr.h> #define EXT2_ACL_VERSION 0x0001 typedef struct { __le16 e_tag; __le16 e_perm; __le32 e_id; } ext2_acl_entry; typedef struct { __le16 e_tag; __le16 e_perm; } ext2_acl_entry_short; typedef struct { __le32 a_version; } ext2_acl_header;
static inline size_t ext2_acl_size(int count) { if (count <= 4) { return sizeof(ext2_acl_header) + count * sizeof(ext2_acl_entry_short); } else { return sizeof(ext2_acl_header) + 4 * sizeof(ext2_acl_entry_short) + (count - 4) * sizeof(ext2_acl_entry); } }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Theodore Y. Ts'o | 58 | 100.00% | 1 | 100.00% |
Total | 58 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Theodore Y. Ts'o | 86 | 100.00% | 1 | 100.00% |
Total | 86 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Theodore Y. Ts'o | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Theodore Y. Ts'o | 249 | 90.88% | 1 | 16.67% |
Christoph Hellwig | 18 | 6.57% | 3 | 50.00% |
Al Viro | 6 | 2.19% | 1 | 16.67% |
Greg Kroah-Hartman | 1 | 0.36% | 1 | 16.67% |
Total | 274 | 100.00% | 6 | 100.00% |