File tree Expand file tree Collapse file tree 2 files changed +20
-15
lines changed Expand file tree Collapse file tree 2 files changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -710,21 +710,6 @@ struct bch_reservation {
710
710
#define BKEY_BTREE_PTR_U64s_MAX \
711
711
(BKEY_U64s + BKEY_BTREE_PTR_VAL_U64s_MAX)
712
712
713
- /* Xattrs */
714
-
715
- #define KEY_TYPE_XATTR_INDEX_USER 0
716
- #define KEY_TYPE_XATTR_INDEX_POSIX_ACL_ACCESS 1
717
- #define KEY_TYPE_XATTR_INDEX_POSIX_ACL_DEFAULT 2
718
- #define KEY_TYPE_XATTR_INDEX_TRUSTED 3
719
- #define KEY_TYPE_XATTR_INDEX_SECURITY 4
720
-
721
- struct bch_xattr {
722
- struct bch_val v ;
723
- __u8 x_type ;
724
- __u8 x_name_len ;
725
- __le16 x_val_len ;
726
- __u8 x_name [];
727
- } __packed __aligned (8 );
728
713
729
714
/* Bucket/allocation information: */
730
715
@@ -1008,6 +993,7 @@ struct bch_sb_field {
1008
993
1009
994
#include "dirent_format.h"
1010
995
#include "inode_format.h"
996
+ #include "xattr_format.h"
1011
997
#include "quota_format.h"
1012
998
#include "sb-counters_format.h"
1013
999
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0 */
2
+ #ifndef _BCACHEFS_XATTR_FORMAT_H
3
+ #define _BCACHEFS_XATTR_FORMAT_H
4
+
5
+ #define KEY_TYPE_XATTR_INDEX_USER 0
6
+ #define KEY_TYPE_XATTR_INDEX_POSIX_ACL_ACCESS 1
7
+ #define KEY_TYPE_XATTR_INDEX_POSIX_ACL_DEFAULT 2
8
+ #define KEY_TYPE_XATTR_INDEX_TRUSTED 3
9
+ #define KEY_TYPE_XATTR_INDEX_SECURITY 4
10
+
11
+ struct bch_xattr {
12
+ struct bch_val v ;
13
+ __u8 x_type ;
14
+ __u8 x_name_len ;
15
+ __le16 x_val_len ;
16
+ __u8 x_name [];
17
+ } __packed __aligned (8 );
18
+
19
+ #endif /* _BCACHEFS_XATTR_FORMAT_H */
You can’t perform that action at this time.
0 commit comments