Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | File: linux/reiserfs_xattr.h |
| 3 | */ |
| 4 | |
Adrian Bunk | 521dae1 | 2007-02-10 01:46:24 -0800 | [diff] [blame] | 5 | #ifndef _LINUX_REISERFS_XATTR_H |
| 6 | #define _LINUX_REISERFS_XATTR_H |
| 7 | |
| 8 | #include <linux/types.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
| 10 | /* Magic value in header */ |
Linus Torvalds | bd4c625 | 2005-07-12 20:21:28 -0700 | [diff] [blame] | 11 | #define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
| 13 | struct reiserfs_xattr_header { |
Linus Torvalds | bd4c625 | 2005-07-12 20:21:28 -0700 | [diff] [blame] | 14 | __le32 h_magic; /* magic number for identification */ |
| 15 | __le32 h_hash; /* hash of the value */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | }; |
| 17 | |
Jeff Mahoney | 57fe60d | 2009-03-30 14:02:41 -0400 | [diff] [blame] | 18 | struct reiserfs_security_handle { |
| 19 | char *name; |
| 20 | void *value; |
| 21 | size_t length; |
| 22 | }; |
| 23 | |
Adrian Bunk | 521dae1 | 2007-02-10 01:46:24 -0800 | [diff] [blame] | 24 | #endif /* _LINUX_REISERFS_XATTR_H */ |