#define nfserr_wrong_lfs               cpu_to_be32(NFS4ERR_WRONG_LFS)
 #define nfserr_badlabel                        cpu_to_be32(NFS4ERR_BADLABEL)
 #define nfserr_file_open               cpu_to_be32(NFS4ERR_FILE_OPEN)
+#define nfserr_xattr2big               cpu_to_be32(NFS4ERR_XATTR2BIG)
+#define nfserr_noxattr                 cpu_to_be32(NFS4ERR_NOXATTR)
 
 /* error codes for internal use */
 /* if a request fails due to kmalloc failure, it gets dropped.
        (NFSD4_1_SUPPORTED_ATTRS_WORD2 | \
        FATTR4_WORD2_CHANGE_ATTR_TYPE | \
        FATTR4_WORD2_MODE_UMASK | \
-       NFSD4_2_SECURITY_ATTRS)
+       NFSD4_2_SECURITY_ATTRS | \
+       FATTR4_WORD2_XATTR_SUPPORT)
 
 extern const u32 nfsd_suppattrs[3][3];