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