2017-11-01 17:08:43 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2005-04-17 02:20:36 +04:00
|
|
|
/*
|
|
|
|
File: linux/reiserfs_xattr.h
|
|
|
|
*/
|
|
|
|
|
2007-02-10 12:46:24 +03:00
|
|
|
#ifndef _LINUX_REISERFS_XATTR_H
|
|
|
|
#define _LINUX_REISERFS_XATTR_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
/* Magic value in header */
|
2005-07-13 07:21:28 +04:00
|
|
|
#define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
struct reiserfs_xattr_header {
|
2005-07-13 07:21:28 +04:00
|
|
|
__le32 h_magic; /* magic number for identification */
|
|
|
|
__le32 h_hash; /* hash of the value */
|
2005-04-17 02:20:36 +04:00
|
|
|
};
|
|
|
|
|
2009-03-30 22:02:41 +04:00
|
|
|
struct reiserfs_security_handle {
|
2013-07-25 00:44:02 +04:00
|
|
|
const char *name;
|
2009-03-30 22:02:41 +04:00
|
|
|
void *value;
|
|
|
|
size_t length;
|
|
|
|
};
|
|
|
|
|
2007-02-10 12:46:24 +03:00
|
|
|
#endif /* _LINUX_REISERFS_XATTR_H */
|