Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

errno.h: remove "NFS" from descriptions in comments

glibc recently changed the error string for ESTALE to remove "NFS" -

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=96945714ec61951cc748da2b4b8a80cf02127ee9

from: [ERR_REMAP (ESTALE)] = N_("Stale NFS file handle"),
to: [ERR_REMAP (ESTALE)] = N_("Stale file handle"),

And some have expressed concern that the kernel's errno.h
comments still refer to NFS.

So make that change... note that this is a comment-only change,
and has no functional difference.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Eric Sandeen and committed by
Linus Torvalds
0ca43435 6c251611

+6 -6
+1 -1
arch/alpha/include/uapi/asm/errno.h
··· 43 43 44 44 #define EUSERS 68 /* Too many users */ 45 45 #define EDQUOT 69 /* Quota exceeded */ 46 - #define ESTALE 70 /* Stale NFS file handle */ 46 + #define ESTALE 70 /* Stale file handle */ 47 47 #define EREMOTE 71 /* Object is remote */ 48 48 49 49 #define ENOLCK 77 /* No record locks available */
+1 -1
arch/mips/include/uapi/asm/errno.h
··· 102 102 #define EWOULDBLOCK EAGAIN /* Operation would block */ 103 103 #define EALREADY 149 /* Operation already in progress */ 104 104 #define EINPROGRESS 150 /* Operation now in progress */ 105 - #define ESTALE 151 /* Stale NFS file handle */ 105 + #define ESTALE 151 /* Stale file handle */ 106 106 #define ECANCELED 158 /* AIO operation canceled */ 107 107 108 108 /*
+1 -1
arch/parisc/include/uapi/asm/errno.h
··· 37 37 #define EBADMSG 67 /* Not a data message */ 38 38 #define EUSERS 68 /* Too many users */ 39 39 #define EDQUOT 69 /* Quota exceeded */ 40 - #define ESTALE 70 /* Stale NFS file handle */ 40 + #define ESTALE 70 /* Stale file handle */ 41 41 #define EREMOTE 71 /* Object is remote */ 42 42 #define EOVERFLOW 72 /* Value too large for defined data type */ 43 43
+1 -1
arch/sparc/include/uapi/asm/errno.h
··· 40 40 #define EPROCLIM 67 /* SUNOS: Too many processes */ 41 41 #define EUSERS 68 /* Too many users */ 42 42 #define EDQUOT 69 /* Quota exceeded */ 43 - #define ESTALE 70 /* Stale NFS file handle */ 43 + #define ESTALE 70 /* Stale file handle */ 44 44 #define EREMOTE 71 /* Object is remote */ 45 45 #define ENOSTR 72 /* Device not a stream */ 46 46 #define ETIME 73 /* Timer expired */
+1 -1
drivers/staging/lustre/lustre/include/lustre/lustre_errno.h
··· 165 165 #define LUSTRE_EHOSTUNREACH 113 /* No route to host */ 166 166 #define LUSTRE_EALREADY 114 /* Operation already in progress */ 167 167 #define LUSTRE_EINPROGRESS 115 /* Operation now in progress */ 168 - #define LUSTRE_ESTALE 116 /* Stale NFS file handle */ 168 + #define LUSTRE_ESTALE 116 /* Stale file handle */ 169 169 #define LUSTRE_EUCLEAN 117 /* Structure needs cleaning */ 170 170 #define LUSTRE_ENOTNAM 118 /* Not a XENIX named type file */ 171 171 #define LUSTRE_ENAVAIL 119 /* No XENIX semaphores available */
+1 -1
include/uapi/asm-generic/errno.h
··· 86 86 #define EHOSTUNREACH 113 /* No route to host */ 87 87 #define EALREADY 114 /* Operation already in progress */ 88 88 #define EINPROGRESS 115 /* Operation now in progress */ 89 - #define ESTALE 116 /* Stale NFS file handle */ 89 + #define ESTALE 116 /* Stale file handle */ 90 90 #define EUCLEAN 117 /* Structure needs cleaning */ 91 91 #define ENOTNAM 118 /* Not a XENIX named type file */ 92 92 #define ENAVAIL 119 /* No XENIX semaphores available */