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