Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47609
b: refs/heads/master
c: 5b0a207
h: refs/heads/master
i:
  47607: 10057d6
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 11, 2007
1 parent eaab62f commit cab37bd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 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: 842f968f3fcdc475c95ec76a03b29c5147e87b54
refs/heads/master: 5b0a2075adb04846870a7fc1e62b08a532054ba6
2 changes: 1 addition & 1 deletion trunk/include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ header-y += video_encoder.h
header-y += videotext.h
header-y += vt.h
header-y += wireless.h
header-y += xattr.h
header-y += x25.h

unifdef-y += acct.h
Expand Down Expand Up @@ -336,6 +335,7 @@ unifdef-y += wait.h
unifdef-y += wanrouter.h
unifdef-y += watchdog.h
unifdef-y += wireless.h
unifdef-y += xattr.h
unifdef-y += xfrm.h

objhdr-y += version.h
8 changes: 8 additions & 0 deletions trunk/include/linux/xattr.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#define XATTR_CREATE 0x1 /* set value, fail if attr already exists */
#define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */

#ifdef __KERNEL__

#include <linux/types.h>

/* Namespaces */
#define XATTR_OS2_PREFIX "os2."
#define XATTR_OS2_PREFIX_LEN (sizeof (XATTR_OS2_PREFIX) - 1)
Expand All @@ -29,6 +33,8 @@
#define XATTR_USER_PREFIX "user."
#define XATTR_USER_PREFIX_LEN (sizeof (XATTR_USER_PREFIX) - 1)

struct inode;
struct dentry;

struct xattr_handler {
char *prefix;
Expand All @@ -50,4 +56,6 @@ ssize_t generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_siz
int generic_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags);
int generic_removexattr(struct dentry *dentry, const char *name);

#endif /* __KERNEL__ */

#endif /* _LINUX_XATTR_H */

0 comments on commit cab37bd

Please sign in to comment.