Whamcloud - gitweb
LU-14301 client: use EOPNOTSUPP instead of ENOTSUPP 11/51511/3
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 30 Jun 2023 00:26:44 +0000 (18:26 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Jul 2023 03:09:50 +0000 (03:09 +0000)
commitffd2fc1e17822c013d7790cc8247361c567792af
tree31a40e7245cd80662c20fed898944b092f06e558
parent9c69503be7f437bc951cbab8c6e29f265c00bbe7
LU-14301 client: use EOPNOTSUPP instead of ENOTSUPP

Don't return NFS-specific error code ENOTSUPP back to userspace,
instead use EOPNOTSUPP.  ENOTSUPP does not print a useful error
message from strerror() if it is hit by an application.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Iabd07b31069737e8ee7ca2382fd8cff6143ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51511
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/dir.c
lustre/llite/lcommon_misc.c
lustre/llite/lproc_llite.c
lustre/lov/lov_object.c
lustre/mdc/lproc_mdc.c
lustre/mdc/mdc_dev.c
lustre/mdc/mdc_request.c
lustre/osc/lproc_osc.c
lustre/osc/osc_io.c