NFSD: restore EINVAL error translation in nfsd_commit()

commit 555dbf1a9a ("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: 555dbf1a9a ("nfsd: Replace use of rwsem with errseq_t")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
Alexey Khoroshilov 2022-06-25 23:52:43 +03:00 • committed by Chuck Lever
commit 8a9ffb8c85