aboutsummaryrefslogtreecommitdiff
path: root/qfloat.c
diff options
context:
space:
mode:
authorM. Mohan Kumar <mohan@in.ibm.com>2010-06-22 12:29:41 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2010-09-08 22:56:41 +0530
commitc7b4b0b302709928b84582881a7b4fb6c1e39e2b (patch)
tree8c1e706df06ab066b70f4fc9297bbca1305fd25f /qfloat.c
parentb67592ea567dd8d19c4274eb35580e5922783c89 (diff)
downloadqemu-c7b4b0b302709928b84582881a7b4fb6c1e39e2b.zip
qemu-c7b4b0b302709928b84582881a7b4fb6c1e39e2b.tar.gz
qemu-c7b4b0b302709928b84582881a7b4fb6c1e39e2b.tar.bz2
rename - change name of file or directory
size[4] Trename tag[2] fid[4] newdirfid[4] name[s] size[4] Rrename tag[2] Implement the 2000.L rename operation. A new function v9fs_complete_rename is introduced that acts as a common entry point for 2000.L rename operation and 2000.U rename opearation (via wstat). As part of this change the field 'nname' (used only for rename) is removed from the structure V9fsWstatState. Instead a new structure V9fsRenameState is used for rename operations both by 2000.U and 2000.L code paths. Both 2000.U and 2000.L rename code paths construct the V9fsRenameState structure and passes that to v9fs_complete_rename function. Changes from previous version: Use qemu_mallocz to initialize Use strcpy,strcat functions instead of memcpy Changed the variable name to newdirfid Introduced post rename function Error checking Removed nname field from V9fsWstatState Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Diffstat (limited to 'qfloat.c')
0 files changed, 0 insertions, 0 deletions