Skip to contentSkip to conversation

reiserfs: remove double definitions of xattr macros

PATCH New Shen Feng 1 participant 1 message May 29, 2008

lore
Share & tools
lore

Shen Feng

author
#0 lore raw

PATCH 1/3 reiserfs: remove double definitions of xattr macros

remove the definitions of macros:
XATTR_SECURITY_PREFIX
XATTR_TRUSTED_PREFIX
XATTR_USER_PREFIX
since they are defined in linux/xattr.h

---
 fs/reiserfs/xattr_security.c |    2 --
 fs/reiserfs/xattr_trusted.c  |    2 --
 fs/reiserfs/xattr_user.c     |    2 --
 3 files changed, 0 insertions(+), 6 deletions(-)
fs/reiserfs/xattr_security.c +0 -2
index 5e90a95..056008d 100644
@@ -6,8 +6,6 @@
 #include <linux/reiserfs_xattr.h>
 #include <asm/uaccess.h>
 
-#define XATTR_SECURITY_PREFIX "security."
-
 static int
 security_get(struct inode *inode, const char *name, void *buffer, size_t size)
 {
fs/reiserfs/xattr_trusted.c +0 -2
index 024a938..60abe2b 100644
@@ -7,8 +7,6 @@
 #include <linux/reiserfs_xattr.h>
 #include <asm/uaccess.h>
 
-#define XATTR_TRUSTED_PREFIX "trusted."
-
 static int
 trusted_get(struct inode *inode, const char *name, void *buffer, size_t size)
 {
fs/reiserfs/xattr_user.c +0 -2
index 073f393..1384efc 100644
@@ -10,8 +10,6 @@
 # include <linux/reiserfs_acl.h>
 #endif
 
-#define XATTR_USER_PREFIX "user."
-
 static int
 user_get(struct inode *inode, const char *name, void *buffer, size_t size)
 {
Signature · 1 line
1.5.4.5