瀏覽代碼

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: Shen Feng <shen@cn.fujitsu.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Shen Feng 17 年之前
父節點
當前提交
3264d4ded4
共有 3 個文件被更改,包括 0 次插入6 次删除
  1. 0 2
      fs/reiserfs/xattr_security.c
  2. 0 2
      fs/reiserfs/xattr_trusted.c
  3. 0 2
      fs/reiserfs/xattr_user.c

+ 0 - 2
fs/reiserfs/xattr_security.c

@@ -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)
 {
 {

+ 0 - 2
fs/reiserfs/xattr_trusted.c

@@ -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)
 {
 {

+ 0 - 2
fs/reiserfs/xattr_user.c

@@ -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)
 {
 {