patch-2.4.6 linux/fs/nfsd/nfs3xdr.c
Next file: linux/fs/nfsd/nfsfh.c
Previous file: linux/fs/nfsd/nfs3proc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jul 2 14:14:59 2001
- Orig file:
v2.4.5/linux/fs/nfsd/nfs3xdr.c
- Orig date:
Sat May 19 18:02:45 2001
diff -u --recursive --new-file v2.4.5/linux/fs/nfsd/nfs3xdr.c linux/fs/nfsd/nfs3xdr.c
@@ -716,7 +716,7 @@
dchild = lookup_one_len(name, dparent,namlen);
if (IS_ERR(dchild))
goto noexec;
- if (fh_compose(&fh, exp, dchild) != 0 || !dchild->d_inode)
+ if (fh_compose(&fh, exp, dchild, cd->dirfh) != 0 || !dchild->d_inode)
goto noexec;
p = encode_post_op_attr(cd->rqstp, p, fh.fh_dentry);
*p++ = xdr_one; /* yes, a file handle follows */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)