]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf47bf0a07370c4a635bcca92346891c675c0921a
tree6a1abd891731247c270d42ba8d7c3b4e8b9fd4b3
parent041dfb9095741c22878f833bdf84483a2372c5cb
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