Add the ENOATTR error number ("No such attribute") The ENOATTR error number is needed by the file system specific code that implements Extended Attributes. This error can occur when trying to retrieve, replace (XATTR_REPLACE flag) or delete an attribute that does not exist. --- linux-2.5.30/include/linux/errno.h.orig Fri Aug 2 15:17:14 2002 +++ linux-2.5.30/include/linux/errno.h Fri Aug 2 15:17:17 2002 @@ -11,6 +11,9 @@ #define ERESTARTNOHAND 514 /* restart if no handler.. */ #define ENOIOCTLCMD 515 /* No ioctl command */ +/* Extended Attributes */ +#define ENOATTR 516 /* No such attribute */ + /* Defined for the NFSv3 protocol */ #define EBADHANDLE 521 /* Illegal NFS file handle */ #define ENOTSYNC 522 /* Update synchronization mismatch */