forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kent Overstreet <[email protected]>
- Loading branch information
Kent Overstreet
committed
Jan 21, 2024
1 parent
7ffc4da
commit 72e0801
Showing
2 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
#ifndef _BCACHEFS_XATTR_FORMAT_H | ||
#define _BCACHEFS_XATTR_FORMAT_H | ||
|
||
#define KEY_TYPE_XATTR_INDEX_USER 0 | ||
#define KEY_TYPE_XATTR_INDEX_POSIX_ACL_ACCESS 1 | ||
#define KEY_TYPE_XATTR_INDEX_POSIX_ACL_DEFAULT 2 | ||
#define KEY_TYPE_XATTR_INDEX_TRUSTED 3 | ||
#define KEY_TYPE_XATTR_INDEX_SECURITY 4 | ||
|
||
struct bch_xattr { | ||
struct bch_val v; | ||
__u8 x_type; | ||
__u8 x_name_len; | ||
__le16 x_val_len; | ||
__u8 x_name[]; | ||
} __packed __aligned(8); | ||
|
||
#endif /* _BCACHEFS_XATTR_FORMAT_H */ |