Skip to content

Commit 939cb14

Browse files
Trond Myklebustchucklever
authored andcommitted
NFS/knfsd: Remove the invalid NFS error 'NFSERR_OPNOTSUPP'
NFSERR_OPNOTSUPP is not described by any RFC, and should not be used. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent e221c45 commit 939cb14

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

fs/nfsd/nfsd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ void nfsd_lockd_shutdown(void);
230230
#define nfserr_nospc cpu_to_be32(NFSERR_NOSPC)
231231
#define nfserr_rofs cpu_to_be32(NFSERR_ROFS)
232232
#define nfserr_mlink cpu_to_be32(NFSERR_MLINK)
233-
#define nfserr_opnotsupp cpu_to_be32(NFSERR_OPNOTSUPP)
234233
#define nfserr_nametoolong cpu_to_be32(NFSERR_NAMETOOLONG)
235234
#define nfserr_notempty cpu_to_be32(NFSERR_NOTEMPTY)
236235
#define nfserr_dquot cpu_to_be32(NFSERR_DQUOT)

include/trace/misc/nfs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ TRACE_DEFINE_ENUM(NFSERR_FBIG);
2828
TRACE_DEFINE_ENUM(NFSERR_NOSPC);
2929
TRACE_DEFINE_ENUM(NFSERR_ROFS);
3030
TRACE_DEFINE_ENUM(NFSERR_MLINK);
31-
TRACE_DEFINE_ENUM(NFSERR_OPNOTSUPP);
3231
TRACE_DEFINE_ENUM(NFSERR_NAMETOOLONG);
3332
TRACE_DEFINE_ENUM(NFSERR_NOTEMPTY);
3433
TRACE_DEFINE_ENUM(NFSERR_DQUOT);
@@ -64,7 +63,6 @@ TRACE_DEFINE_ENUM(NFSERR_JUKEBOX);
6463
{ NFSERR_NOSPC, "NOSPC" }, \
6564
{ NFSERR_ROFS, "ROFS" }, \
6665
{ NFSERR_MLINK, "MLINK" }, \
67-
{ NFSERR_OPNOTSUPP, "OPNOTSUPP" }, \
6866
{ NFSERR_NAMETOOLONG, "NAMETOOLONG" }, \
6967
{ NFSERR_NOTEMPTY, "NOTEMPTY" }, \
7068
{ NFSERR_DQUOT, "DQUOT" }, \

include/uapi/linux/nfs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
NFSERR_NOSPC = 28, /* v2 v3 v4 */
6262
NFSERR_ROFS = 30, /* v2 v3 v4 */
6363
NFSERR_MLINK = 31, /* v3 v4 */
64-
NFSERR_OPNOTSUPP = 45, /* v2 v3 */
6564
NFSERR_NAMETOOLONG = 63, /* v2 v3 v4 */
6665
NFSERR_NOTEMPTY = 66, /* v2 v3 v4 */
6766
NFSERR_DQUOT = 69, /* v2 v3 v4 */

0 commit comments

Comments
 (0)