]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: restore EINVAL error translation in nfsd_commit()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Sat, 25 Jun 2022 20:52:43 +0000 (23:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jul 2022 15:53:26 +0000 (17:53 +0200)
commit5dd8d81394bf550be0cc6d493026b5fa8c9c900f
tree05a87f466b7b1d635f03d2f37076c8d9db49b5a2
parentf572321357c4329914a1b24bc4c64488bdef5835
NFSD: restore EINVAL error translation in nfsd_commit()

commit 86f03100de344b60910a2fa94e443e41dc5a8221 upstream.

commit f9f4af0131e9 ("nfsd: Replace use of rwsem with errseq_t")
incidentally broke translation of -EINVAL to nfserr_notsupp.
The patch restores that.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: f9f4af0131e9 ("nfsd: Replace use of rwsem with errseq_t")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/vfs.c