summaryrefslogtreecommitdiff
path: root/tools/arch/mips/include/uapi/asm/errno.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-01-12 16:31:09 -0800
committerChristian Brauner <brauner@kernel.org>2026-01-13 09:58:01 +0100
commit602544773763da411ffa67567fa1d146f3a40231 (patch)
treed78c75b0e7fedf905a98c7eeee487146fcbabecd /tools/arch/mips/include/uapi/asm/errno.h
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff)
downloadlinux-next-602544773763da411ffa67567fa1d146f3a40231.tar.gz
linux-next-602544773763da411ffa67567fa1d146f3a40231.zip
uapi: promote EFSCORRUPTED and EUCLEAN to errno.h
Stop definining these privately and instead move them to the uapi errno.h so that they become canonical instead of copy pasta. Cc: linux-api@vger.kernel.org Signed-off-by: Darrick J. Wong <djwong@kernel.org> Link: https://patch.msgid.link/176826402587.3490369.17659117524205214600.stgit@frogsfrogsfrogs Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/arch/mips/include/uapi/asm/errno.h')
-rw-r--r--tools/arch/mips/include/uapi/asm/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/arch/mips/include/uapi/asm/errno.h b/tools/arch/mips/include/uapi/asm/errno.h
index 2fb714e2d6d8..c01ed91b1ef4 100644
--- a/tools/arch/mips/include/uapi/asm/errno.h
+++ b/tools/arch/mips/include/uapi/asm/errno.h
@@ -50,6 +50,7 @@
#define EDOTDOT 73 /* RFS specific error */
#define EMULTIHOP 74 /* Multihop attempted */
#define EBADMSG 77 /* Not a data message */
+#define EFSBADCRC EBADMSG /* Bad CRC detected */
#define ENAMETOOLONG 78 /* File name too long */
#define EOVERFLOW 79 /* Value too large for defined data type */
#define ENOTUNIQ 80 /* Name not unique on network */
@@ -88,6 +89,7 @@
#define EISCONN 133 /* Transport endpoint is already connected */
#define ENOTCONN 134 /* Transport endpoint is not connected */
#define EUCLEAN 135 /* Structure needs cleaning */
+#define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */
#define ENOTNAM 137 /* Not a XENIX named type file */
#define ENAVAIL 138 /* No XENIX semaphores available */
#define EISNAM 139 /* Is a named type file */