Correct a problem wherein NFS servers running NFSv2 would not return

certain classes of failure responses to the client during a failed
remove operation.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
This commit is contained in:
Robert Watson 2002-10-03 21:50:37 +00:00
parent d539c53b01
commit 60cfb7c64a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104424

View File

@ -2905,10 +2905,9 @@ nfsrv_rmdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
if (dirp)
diraft_ret = VOP_GETATTR(dirp, &diraft, cred, td);
nfsm_reply(NFSX_WCCDATA(v3));
if (v3) {
error = 0;
if (v3)
nfsm_srvwcc_data(dirfor_ret, &dirfor, diraft_ret, &diraft);
error = 0;
}
/* fall through */
nfsmout: