diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-03 21:50:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-03 21:50:37 +0000 |
commit | ddb3d2b4ee42164258874acf05a2fb9cef71fd9f (patch) | |
tree | e260e529fb6fb51b4d4d8214441d858bc7401661 /sys | |
parent | 510f8bbd85a5e0a3ef17cd763a1031762a447cf7 (diff) | |
download | FreeBSD-src-ddb3d2b4ee42164258874acf05a2fb9cef71fd9f.zip FreeBSD-src-ddb3d2b4ee42164258874acf05a2fb9cef71fd9f.tar.gz |
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>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfsserver/nfs_serv.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index feeadf5..00c9da9 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -2905,10 +2905,9 @@ out: 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: |