blob: 28f10842f047c0f0832ee83b0de9b4c833070988 [file] [log] [blame]
Greg Kroah-Hartman6f52b162017-11-01 15:08:43 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 File: linux/reiserfs_xattr.h
4*/
5
Adrian Bunk521dae12007-02-10 01:46:24 -08006#ifndef _LINUX_REISERFS_XATTR_H
7#define _LINUX_REISERFS_XATTR_H
8
9#include <linux/types.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11/* Magic value in header */
Linus Torvaldsbd4c6252005-07-12 20:21:28 -070012#define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14struct reiserfs_xattr_header {
Linus Torvaldsbd4c6252005-07-12 20:21:28 -070015 __le32 h_magic; /* magic number for identification */
16 __le32 h_hash; /* hash of the value */
Linus Torvalds1da177e2005-04-16 15:20:36 -070017};
18
Jeff Mahoney57fe60d2009-03-30 14:02:41 -040019struct reiserfs_security_handle {
Tetsuo Handa95489062013-07-25 05:44:02 +090020 const char *name;
Jeff Mahoney57fe60d2009-03-30 14:02:41 -040021 void *value;
22 size_t length;
23};
24
Adrian Bunk521dae12007-02-10 01:46:24 -080025#endif /* _LINUX_REISERFS_XATTR_H */