9p: add 9P2000.L rename operation
authorSripathi Kodi <sripathik@in.ibm.com>
Thu, 25 Mar 2010 12:47:26 +0000 (12:47 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 21 May 2010 21:44:34 +0000 (16:44 -0500)
commit4681dbdacb5cdc4d3273c3a97a1858d6e00a5fe7
treee29be0d9f98caa7ee176cf0a1a3c3a22fca4934d
parentbda8e7752063cdbdd1d308bc1705400a8cec1aeb
9p: add 9P2000.L rename operation

I made a V2 of this patch on top of my patches for VFS switches.
All the changes were due to change in some offsets.

rename - change name of file or directory

size[4] Trename tag[2] fid[4] newdirfid[4] name[s]
size[4] Rrename tag[2]

The rename message is used to change the name of a file, possibly moving it
to a new directory.  The 9P wstat message can only rename a file within the
same directory.

Signed-off-by: Jim Garlick <garlick@llnl.gov>
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c
include/net/9p/9p.h
include/net/9p/client.h
net/9p/client.c