Commit | Line | Data |
---|---|---|
6f52b16c | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
1da177e4 LT |
2 | /* |
3 | File: linux/reiserfs_xattr.h | |
4 | */ | |
5 | ||
521dae19 AB |
6 | #ifndef _LINUX_REISERFS_XATTR_H |
7 | #define _LINUX_REISERFS_XATTR_H | |
8 | ||
9 | #include <linux/types.h> | |
1da177e4 LT |
10 | |
11 | /* Magic value in header */ | |
bd4c625c | 12 | #define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */ |
1da177e4 LT |
13 | |
14 | struct reiserfs_xattr_header { | |
bd4c625c LT |
15 | __le32 h_magic; /* magic number for identification */ |
16 | __le32 h_hash; /* hash of the value */ | |
1da177e4 LT |
17 | }; |
18 | ||
57fe60df | 19 | struct reiserfs_security_handle { |
9548906b | 20 | const char *name; |
57fe60df | 21 | void *value; |
2a5c0fdc | 22 | __kernel_size_t length; |
57fe60df JM |
23 | }; |
24 | ||
521dae19 | 25 | #endif /* _LINUX_REISERFS_XATTR_H */ |