blob: d8ce17c2459a1f8ce79d67267e19d9a581776439 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 File: linux/reiserfs_xattr.h
3*/
4
Adrian Bunk521dae12007-02-10 01:46:24 -08005#ifndef _LINUX_REISERFS_XATTR_H
6#define _LINUX_REISERFS_XATTR_H
7
8#include <linux/types.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
10/* Magic value in header */
Linus Torvaldsbd4c6252005-07-12 20:21:28 -070011#define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13struct reiserfs_xattr_header {
Linus Torvaldsbd4c6252005-07-12 20:21:28 -070014 __le32 h_magic; /* magic number for identification */
15 __le32 h_hash; /* hash of the value */
Linus Torvalds1da177e2005-04-16 15:20:36 -070016};
17
Jeff Mahoney57fe60d2009-03-30 14:02:41 -040018struct reiserfs_security_handle {
19 char *name;
20 void *value;
21 size_t length;
22};
23
Adrian Bunk521dae12007-02-10 01:46:24 -080024#endif /* _LINUX_REISERFS_XATTR_H */