Skip to content

Commit

Permalink
reiserfs: remove double definitions of xattr macros
Browse files Browse the repository at this point in the history
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: Shen Feng <[email protected]>
Signed-off-by: Mingming Cao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Shen Feng authored and torvalds committed Jul 25, 2008
1 parent 90415de commit 3264d4d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions fs/reiserfs/xattr_security.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions fs/reiserfs/xattr_trusted.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions fs/reiserfs/xattr_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3264d4d

Please sign in to comment.