9p: Define and implement TLINK for 9P2000.L
authorEric Van Hensbergen <ericvh@gmail.com>
Mon, 2 Aug 2010 19:28:09 +0000 (14:28 -0500)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 2 Aug 2010 19:28:09 +0000 (14:28 -0500)
commit09d34ee5f93b2e53b64ffba27bc18731e31154e1
tree6a1abd891731247c270d42ba8d7c3b4e8b9fd4b3
parent87d7845aa0b157a62448dd3e339856f28befe1f4
9p: Define and implement TLINK for 9P2000.L

This patch adds a helper function to get the dentry from inode and
uses it in creating a Hardlink

SYNOPSIS

size[4] Tlink tag[2] dfid[4] oldfid[4] newpath[s]

size[4] Rlink tag[2]

DESCRIPTION

Create a link 'newpath' in directory pointed by dfid linking to oldfid path.

[sripathik@in.ibm.com : p9_client_link should not free req structure
if p9_client_rpc has returned an error.]

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c