summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-05-23 23:24:41 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-09-09 14:46:03 +0530
commit89bf65938aa9f70e1c903160af509b693bd58c7b (patch)
tree950b4dcb4dad4d0a467274668f685ef7e89b7916 /linux-user/syscall.c
parent10e72295bd33af848e96c2ceaad86299ef244da4 (diff)
downloadfocaccia-qemu-89bf65938aa9f70e1c903160af509b693bd58c7b.tar.gz
focaccia-qemu-89bf65938aa9f70e1c903160af509b693bd58c7b.zip
hw/9pfs: add 9P2000.L renameat operation
rename - change name of file or directory

size[4] Trenameat tag[2] olddirfid[4] oldname[s] newdirfid[4] newname[s]
size[4] Rrenameat tag[2]

older Trename have the below request format

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

The rename message is used to change the name of a file, possibly moving it
to a new directory. The rename opreation is actually a directory opertation
and should ideally have olddirfid, if not we cannot represent the fid on server
with anything other than name. We will have to derive the old directory name
from fid in the Trename request.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions