]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS/localio: remove -EAGAIN handling in nfs_local_doio()
authorMike Snitzer <snitzer@kernel.org>
Wed, 7 Jan 2026 16:08:57 +0000 (11:08 -0500)
committerAnna Schumaker <anna.schumaker@oracle.com>
Thu, 22 Jan 2026 15:51:10 +0000 (10:51 -0500)
commite72a73957613653f50375db1f3a3fbb907a9c40b
treeb77548452b9b926cfbc4a491e470ffc244bf0f93
parent9bb0060f7860aa4561c5b21163dd45ceb66946a9
NFS/localio: remove -EAGAIN handling in nfs_local_doio()

Handling -EAGAIN in nfs_local_doio() was introduced with commit
0978e5b85fc08 (nfs_do_local_{read,write} were made to have negative
checks for correspoding iter method) but commit e43e9a3a3d66
since eliminated the possibility for this -EAGAIN early return.

So remove nfs_local_doio()'s -EAGAIN handling that calls
nfs_localio_disable_client() -- while it should never happen from
nfs_do_local_{read,write} this particular -EAGAIN handling is now
"dead" and so it has become a liability.

Fixes: e43e9a3a3d66 ("nfs/localio: refactor iocb initialization")
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/localio.c