Skip to contentSkip to conversation

+ errnoh-remove-nfs-from-descriptions-in-comments.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Oct 31, 2013

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

Subject: + errnoh-remove-nfs-from-descriptions-in-comments.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Thu, 31 Oct 2013 14:43:29 -0700

The patch titled
Subject: errno.h: remove "NFS" from descriptions in comments
has been added to the -mm tree. Its filename is
errnoh-remove-nfs-from-descriptions-in-comments.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/errnoh-remove-nfs-from-descriptions-in-comments.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/errnoh-remove-nfs-from-descriptions-in-comments.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Eric Sandeen <[email protected]>
Subject: 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.

---

 arch/alpha/include/uapi/asm/errno.h                         |    2 +-
 arch/mips/include/uapi/asm/errno.h                          |    2 +-
 arch/parisc/include/uapi/asm/errno.h                        |    2 +-
 arch/sparc/include/uapi/asm/errno.h                         |    2 +-
 drivers/staging/lustre/lustre/include/lustre/lustre_errno.h |    2 +-
 include/uapi/asm-generic/errno.h                            |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
arch/alpha/include/uapi/asm/errno.h renamed from arch/alpha/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments +1 -1
diff -puN arch/alpha/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments arch/alpha/include/uapi/asm/errno.h
@@ -43,7 +43,7 @@
 
 #define	EUSERS		68	/* Too many users */
 #define	EDQUOT		69	/* Quota exceeded */
-#define	ESTALE		70	/* Stale NFS file handle */
+#define	ESTALE		70	/* Stale file handle */
 #define	EREMOTE		71	/* Object is remote */
 
 #define	ENOLCK		77	/* No record locks available */
arch/mips/include/uapi/asm/errno.h renamed from arch/mips/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments +1 -1
diff -puN arch/mips/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments arch/mips/include/uapi/asm/errno.h
@@ -102,7 +102,7 @@
 #define EWOULDBLOCK	EAGAIN	/* Operation would block */
 #define EALREADY	149	/* Operation already in progress */
 #define EINPROGRESS	150	/* Operation now in progress */
-#define ESTALE		151	/* Stale NFS file handle */
+#define ESTALE		151	/* Stale file handle */
 #define ECANCELED	158	/* AIO operation canceled */
 
 /*
arch/parisc/include/uapi/asm/errno.h renamed from arch/parisc/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments +1 -1
diff -puN arch/parisc/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments arch/parisc/include/uapi/asm/errno.h
@@ -37,7 +37,7 @@
 #define	EBADMSG		67	/* Not a data message */
 #define	EUSERS		68	/* Too many users */
 #define	EDQUOT		69	/* Quota exceeded */
-#define	ESTALE		70	/* Stale NFS file handle */
+#define	ESTALE		70	/* Stale file handle */
 #define	EREMOTE		71	/* Object is remote */
 #define	EOVERFLOW	72	/* Value too large for defined data type */
 
arch/sparc/include/uapi/asm/errno.h renamed from arch/sparc/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments +1 -1
diff -puN arch/sparc/include/uapi/asm/errno.h~errnoh-remove-nfs-from-descriptions-in-comments arch/sparc/include/uapi/asm/errno.h
@@ -40,7 +40,7 @@
 #define EPROCLIM        67      /* SUNOS: Too many processes */
 #define	EUSERS		68	/* Too many users */
 #define	EDQUOT		69	/* Quota exceeded */
-#define	ESTALE		70	/* Stale NFS file handle */
+#define	ESTALE		70	/* Stale file handle */
 #define	EREMOTE		71	/* Object is remote */
 #define	ENOSTR		72	/* Device not a stream */
 #define	ETIME		73	/* Timer expired */
drivers/staging/lustre/lustre/include/lustre/lustre_errno.h renamed from drivers/staging/lustre/lustre/include/lustre/lustre_errno.h~errnoh-remove-nfs-from-descriptions-in-comments +1 -1
diff -puN drivers/staging/lustre/lustre/include/lustre/lustre_errno.h~errnoh-remove-nfs-from-descriptions-in-comments drivers/staging/lustre/lustre/include/lustre/lustre_errno.h
@@ -165,7 +165,7 @@
 #define LUSTRE_EHOSTUNREACH	113	/* No route to host */
 #define LUSTRE_EALREADY		114	/* Operation already in progress */
 #define LUSTRE_EINPROGRESS	115	/* Operation now in progress */
-#define LUSTRE_ESTALE		116	/* Stale NFS file handle */
+#define LUSTRE_ESTALE		116	/* Stale file handle */
 #define LUSTRE_EUCLEAN		117	/* Structure needs cleaning */
 #define LUSTRE_ENOTNAM		118	/* Not a XENIX named type file */
 #define LUSTRE_ENAVAIL		119	/* No XENIX semaphores available */
include/uapi/asm-generic/errno.h renamed from include/uapi/asm-generic/errno.h~errnoh-remove-nfs-from-descriptions-in-comments +1 -1
diff -puN include/uapi/asm-generic/errno.h~errnoh-remove-nfs-from-descriptions-in-comments include/uapi/asm-generic/errno.h
@@ -86,7 +86,7 @@
 #define	EHOSTUNREACH	113	/* No route to host */
 #define	EALREADY	114	/* Operation already in progress */
 #define	EINPROGRESS	115	/* Operation now in progress */
-#define	ESTALE		116	/* Stale NFS file handle */
+#define	ESTALE		116	/* Stale file handle */
 #define	EUCLEAN		117	/* Structure needs cleaning */
 #define	ENOTNAM		118	/* Not a XENIX named type file */
 #define	ENAVAIL		119	/* No XENIX semaphores available */

_

Patches currently in -mm which might be from [email protected] are

errnoh-remove-nfs-from-descriptions-in-comments.patch linux-next.patch