summaryrefslogtreecommitdiff
path: root/nfs/ops.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-04 21:14:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-04 21:14:33 +0000
commitf53c1f3ef6f55f6a7f83d8ed3a11d9af9f413af3 (patch)
tree37264bc0eb2637e78f9680dbca9b3426e46769cc /nfs/ops.c
parentd036245af57178d3f7d333bcba9f70d4f0e60af1 (diff)
(netfs_attempt_link) [case SYMLINK]: Include directory handle as an
RPC arg.
Diffstat (limited to 'nfs/ops.c')
-rw-r--r--nfs/ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nfs/ops.c b/nfs/ops.c
index 221d815d..3ec52e9a 100644
--- a/nfs/ops.c
+++ b/nfs/ops.c
@@ -538,6 +538,7 @@ netfs_attempt_link (struct netcred *cred, struct node *dir,
case SYMLINK:
mutex_lock (&dir->lock);
p = nfs_initialize_rpc (NFSPROC_SYMLINK, cred, 0, &rpcbuf, dir, -1);
+ p = xdr_encode_fhandle (p, &dir->nn->handle);
mutex_unlock (&dir->lock);
p = xdr_encode_string (p, name);