Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47610
b: refs/heads/master
c: 521dae1
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 11, 2007
1 parent cab37bd commit 8a4788b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b0a2075adb04846870a7fc1e62b08a532054ba6
refs/heads/master: 521dae191e5ba9362152da9fd3a12203e087df83
24 changes: 19 additions & 5 deletions trunk/include/linux/reiserfs_xattr.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
File: linux/reiserfs_xattr.h
*/

#include <linux/xattr.h>
#ifndef _LINUX_REISERFS_XATTR_H
#define _LINUX_REISERFS_XATTR_H

#include <linux/types.h>

/* Magic value in header */
#define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */
Expand All @@ -13,7 +16,18 @@ struct reiserfs_xattr_header {
};

#ifdef __KERNEL__

#include <linux/init.h>
#include <linux/list.h>
#include <linux/rwsem.h>
#include <linux/reiserfs_fs_i.h>
#include <linux/reiserfs_fs.h>

struct inode;
struct dentry;
struct iattr;
struct super_block;
struct nameidata;

struct reiserfs_xattr_handler {
char *prefix;
Expand Down Expand Up @@ -49,9 +63,7 @@ int reiserfs_xattr_set(struct inode *, const char *, const void *, size_t, int);

extern struct reiserfs_xattr_handler user_handler;
extern struct reiserfs_xattr_handler trusted_handler;
#ifdef CONFIG_REISERFS_FS_SECURITY
extern struct reiserfs_xattr_handler security_handler;
#endif

int reiserfs_xattr_register_handlers(void) __init;
void reiserfs_xattr_unregister_handlers(void);
Expand Down Expand Up @@ -137,6 +149,8 @@ static inline int reiserfs_xattr_init(struct super_block *sb, int mount_flags)
static inline void reiserfs_init_xattr_rwsem(struct inode *inode)
{
}
#endif
#endif /* CONFIG_REISERFS_FS_XATTR */

#endif /* __KERNEL__ */

#endif /* __KERNEL__ */
#endif /* _LINUX_REISERFS_XATTR_H */

0 comments on commit 8a4788b

Please sign in to comment.