summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-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);