]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r317272
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 7 May 2017 21:32:55 +0000 (21:32 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 7 May 2017 21:32:55 +0000 (21:32 +0000)
commit55bddb5a0408c0da414bc79d3f9653ac27953b52
tree630ab18f0013044d2e7b51683ac8b4ad215bfe66
parentf240311cdea8c90ec7e07cc108d9065971b46c63
MFC: r317272
Add checks for failed operations to the NFSv4 client function nfscl_mtofh().

The nfscl_mtofh() function didn't check for failed operations and, as such,
would have returned EBADRPC for these cases, due to parsing failure.
This patch adds checks, so that it returns with ND_NOMOREDATA set.
This is needed for future use in the pNFS server and acts as a safety
belt in the meantime.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317925 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clcomsubs.c