CIFS: remove local xattr definitions
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 11 Aug 2011 20:00:47 +0000 (16:00 -0400)
committerJames Morris <jmorris@namei.org>
Fri, 12 Aug 2011 02:49:58 +0000 (12:49 +1000)
commitf995e74087402c482c55c29bf11da8bcf631245a
tree3972c0974ed4b8782794b62bbc73e97dc5174a4b
parent5a4730ba9517cf2793175991243436a24b1db18f
CIFS: remove local xattr definitions

Local XATTR_TRUSTED_PREFIX_LEN and XATTR_SECURITY_PREFIX_LEN definitions
redefined ones in 'linux/xattr.h'. This was caused by commit 9d8f13ba3f48
("security: new security_inode_init_security API adds function callback")
including 'linux/xattr.h' in 'linux/security.h'.

In file included from include/linux/security.h:39,
                 from include/net/sock.h:54,
                 from fs/cifs/cifspdu.h:25,
                 from fs/cifs/xattr.c:26:

This patch removes the local definitions.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
fs/cifs/xattr.c