DragonFly kernel List (threaded) for 2006-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Who broke NFS?
Try this patch. It basically does the same thing as the
other patch, but is more along the lines of the intent of
the code. I meant to use 'nch' as a temporary just to
construct the handle needed to fetch the directory vnode.
-Matt
Index: vfs/nfs/nfs_subs.c
===================================================================
RCS file: /cvs/src/sys/vfs/nfs/nfs_subs.c,v
retrieving revision 1.43
diff -u -r1.43 nfs_subs.c
--- vfs/nfs/nfs_subs.c 27 Oct 2006 04:56:34 -0000 1.43
+++ vfs/nfs/nfs_subs.c 5 Dec 2006 16:04:18 -0000
@@ -1604,7 +1604,7 @@
*/
if (error == 0) {
if (dvpp) {
- if (nch.ncp->nc_parent) {
+ if (nd->nl_nch.ncp->nc_parent) {
nch = nd->nl_nch;
nch.ncp = nch.ncp->nc_parent;
error = cache_vget(&nch, nd->nl_cred,
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]