Commit 3264d4de authored by Shen Feng's avatar Shen Feng Committed by Linus Torvalds

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
Signed-off-by: default avatarShen Feng <shen@cn.fujitsu.com>
Signed-off-by: default avatarMingming Cao <cmm@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 90415dea
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include <linux/reiserfs_xattr.h> #include <linux/reiserfs_xattr.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#define XATTR_SECURITY_PREFIX "security."
static int static int
security_get(struct inode *inode, const char *name, void *buffer, size_t size) security_get(struct inode *inode, const char *name, void *buffer, size_t size)
{ {
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
#include <linux/reiserfs_xattr.h> #include <linux/reiserfs_xattr.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#define XATTR_TRUSTED_PREFIX "trusted."
static int static int
trusted_get(struct inode *inode, const char *name, void *buffer, size_t size) trusted_get(struct inode *inode, const char *name, void *buffer, size_t size)
{ {
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
# include <linux/reiserfs_acl.h> # include <linux/reiserfs_acl.h>
#endif #endif
#define XATTR_USER_PREFIX "user."
static int static int
user_get(struct inode *inode, const char *name, void *buffer, size_t size) user_get(struct inode *inode, const char *name, void *buffer, size_t size)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment