From 2c5348242025558882320cc94e45deed65a849c2 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Wed, 20 Jan 2021 09:22:54 -0600 Subject: [PATCH] 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. Lustre-change: https://review.whamcloud.com/41280 Lustre-commit: e00733f0f87659c936039a58ea738cfb070638bc Test-Parameters: trivial Signed-off-by: John L. Hammond Change-Id: I13b0389c9ec0853f43d8ab4a8f6538eb24c8a2ad Reviewed-by: Andreas Dilger Reviewed-by: Arshad Hussain Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51512 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Patrick Farrell --- contrib/scripts/spelling.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/scripts/spelling.txt b/contrib/scripts/spelling.txt index b0220c0..3a70d7a 100644 --- a/contrib/scripts/spelling.txt +++ b/contrib/scripts/spelling.txt @@ -106,6 +106,7 @@ EWOULDBLOCK||EAGAIN 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 -- 1.8.3.1