Whamcloud - gitweb
LU-14301 lustre: add ENOTSUPP to spelling.txt 80/41280/2
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 20 Jan 2021 15:22:54 +0000 (09:22 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 08:23:01 +0000 (08:23 +0000)
Add a spelling check for ENOTSUPP to suggest use of EOPNOTSUPP
instead. Note:

ENOTSUPP (524) and defined only in the kernel errno.h and is a NFSv3
specific errno. If ENOTSUPP is returned to userspace then strerror()
will print "Unknown error 524".

EOPNOTSUPP (95) is defined in kernel and userspace errno.h.

ENOTSUP is defined in userspace errno.h as an alias for EOPNOTSUPP.

Test-Parameters: trivial
Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I13b0389c9ec0853f43d8ab4a8f6538eb24c8a2ad
Reviewed-on: https://review.whamcloud.com/41280
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
contrib/scripts/spelling.txt

index ee44b46..55eeb44 100644 (file)
@@ -103,6 +103,7 @@ DEFINE_TIMER||CFS_DEFINE_TIMER
 container_of0||container_of_safe
 DN_MAX_BONUSLEN||DN_BONUS_SIZE(dnodesize)
 DN_OLD_MAX_BONUSLEN||DN_BONUS_SIZE(DNODE_MIN_SIZE)
+ENOTSUPP||EOPNOTSUPP
 ERR_PTR.PTR_ERR||ERR_CAST
 from_timer||cfs_from_timer
 f_dentry||f_path.dentry