Whamcloud - gitweb
LU-14047 lustre: change EWOULDBLOCK to EAGAIN 07/40307/4
authorJohn L. Hammond <jhammond@whamcloud.com>
Tue, 20 Oct 2020 14:20:35 +0000 (09:20 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 21:06:01 +0000 (21:06 +0000)
commita7f48e6c15e28617793d89958c79e9ed8cb73e65
tree6b53a6a91e99e5f8c364f05e71fb670111dd906c
parent5309e108582c692f3b60705818fddc4a3b3b1345
LU-14047 lustre: change EWOULDBLOCK to EAGAIN

On linux, EWOULDBLOCK has always been defined as an alias for
EAGAIN. In the interest of readability we should not use two names for
the same thing. So change the remaining uses of EWOULDBLOCK to EAGAIN
and add EWOULDBLOCK||EAGAIN to spelling.txt.

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: Ib48b8a1e58bfa961d2a4ba411c038c476bfc300d
Reviewed-on: https://review.whamcloud.com/40307
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
17 files changed:
contrib/scripts/spelling.txt
lustre/doc/llapi_hsm_copytool_register.3
lustre/fld/fld_request.c
lustre/include/cl_object.h
lustre/ldlm/ldlm_extent.c
lustre/llite/glimpse.c
lustre/llite/vvp_page.c
lustre/obdclass/cl_io.c
lustre/osc/osc_io.c
lustre/osc/osc_lock.c
lustre/osc/osc_request.c
lustre/osp/osp_precreate.c
lustre/ptlrpc/client.c
lustre/ptlrpc/errno.c
lustre/ptlrpc/sec.c
lustre/tests/llapi_hsm_test.c
lustre/tests/mpi/parallel_grouplock.c