xref: /linux/include/uapi/linux/reiserfs_xattr.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2607ca46eSDavid Howells /*
3607ca46eSDavid Howells   File: linux/reiserfs_xattr.h
4607ca46eSDavid Howells */
5607ca46eSDavid Howells 
6607ca46eSDavid Howells #ifndef _LINUX_REISERFS_XATTR_H
7607ca46eSDavid Howells #define _LINUX_REISERFS_XATTR_H
8607ca46eSDavid Howells 
9607ca46eSDavid Howells #include <linux/types.h>
10607ca46eSDavid Howells 
11607ca46eSDavid Howells /* Magic value in header */
12607ca46eSDavid Howells #define REISERFS_XATTR_MAGIC 0x52465841	/* "RFXA" */
13607ca46eSDavid Howells 
14607ca46eSDavid Howells struct reiserfs_xattr_header {
15607ca46eSDavid Howells 	__le32 h_magic;		/* magic number for identification */
16607ca46eSDavid Howells 	__le32 h_hash;		/* hash of the value */
17607ca46eSDavid Howells };
18607ca46eSDavid Howells 
19607ca46eSDavid Howells struct reiserfs_security_handle {
209548906bSTetsuo Handa 	const char *name;
21607ca46eSDavid Howells 	void *value;
22*2a5c0fdcSMasahiro Yamada 	__kernel_size_t length;
23607ca46eSDavid Howells };
24607ca46eSDavid Howells 
25607ca46eSDavid Howells #endif  /*  _LINUX_REISERFS_XATTR_H  */
26