From 930b1e173b31e1a0e77535a9868dc3ec1f426a43 Mon Sep 17 00:00:00 2001 From: "Aneesh Kumar K.V" Date: Sat, 7 May 2011 16:01:33 +0530 Subject: hw/9pfs: Update vfs_rename to use coroutines I guess TRENAME 9p operation needs an update. The 9p op should more similar renameat. Otherwise anything other than path cannot track the fid. Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/virtio-9p.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'hw/9pfs/virtio-9p.h') diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h index 194f0ea6d..46d79da92 100644 --- a/hw/9pfs/virtio-9p.h +++ b/hw/9pfs/virtio-9p.h @@ -385,15 +385,6 @@ typedef struct V9fsMkState { V9fsString fullname; } V9fsMkState; -typedef struct V9fsRenameState { - V9fsPDU *pdu; - V9fsFidState *fidp; - size_t offset; - int32_t newdirfid; - V9fsString name; -} V9fsRenameState; - - #define P9_LOCK_SUCCESS 0 #define P9_LOCK_BLOCKED 1 #define P9_LOCK_ERROR 2 -- cgit v1.2.3