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:
parent
d539c53b01
commit
60cfb7c64a
@ -2905,10 +2905,9 @@ nfsrv_rmdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
|
|||||||
if (dirp)
|
if (dirp)
|
||||||
diraft_ret = VOP_GETATTR(dirp, &diraft, cred, td);
|
diraft_ret = VOP_GETATTR(dirp, &diraft, cred, td);
|
||||||
nfsm_reply(NFSX_WCCDATA(v3));
|
nfsm_reply(NFSX_WCCDATA(v3));
|
||||||
if (v3) {
|
error = 0;
|
||||||
|
if (v3)
|
||||||
nfsm_srvwcc_data(dirfor_ret, &dirfor, diraft_ret, &diraft);
|
nfsm_srvwcc_data(dirfor_ret, &dirfor, diraft_ret, &diraft);
|
||||||
error = 0;
|
|
||||||
}
|
|
||||||
/* fall through */
|
/* fall through */
|
||||||
|
|
||||||
nfsmout:
|
nfsmout:
|
||||||
|
Loading…
Reference in New Issue
Block a user