From: John L. Hammond Date: Wed, 20 Jan 2021 15:22:54 +0000 (-0600) Subject: LU-14301 lustre: add ENOTSUPP to spelling.txt X-Git-Tag: 2.14.51~164 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=e00733f0f87659c936039a58ea738cfb070638bc;ds=sidebyside LU-14301 lustre: add ENOTSUPP to spelling.txt 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 Change-Id: I13b0389c9ec0853f43d8ab4a8f6538eb24c8a2ad Reviewed-on: https://review.whamcloud.com/41280 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Arshad Hussain --- diff --git a/contrib/scripts/spelling.txt b/contrib/scripts/spelling.txt index ee44b46..55eeb44 100644 --- a/contrib/scripts/spelling.txt +++ b/contrib/scripts/spelling.txt @@ -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