patch-2.4.0-test2 linux/fs/nfsd/export.c
Next file: linux/fs/nfsd/nfs3proc.c
Previous file: linux/fs/nfs/read.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Jun 23 21:22:12 2000
- Orig file:
v2.4.0-test1/linux/fs/nfsd/export.c
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.4.0-test1/linux/fs/nfsd/export.c linux/fs/nfsd/export.c
@@ -430,13 +430,12 @@
* fh must be initialized before calling fh_compose
*/
fh_init(&fh, maxsize);
- if (fh_compose(&fh, exp, nd.dentry))
+ if (fh_compose(&fh, exp, dget(nd.dentry)))
err = -EINVAL;
else
err = 0;
memcpy(f, &fh.fh_handle, sizeof(struct knfsd_fh));
fh_put(&fh);
- return err;
out:
path_release(&nd);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)