aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs/virtio-9p.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-05-18 17:38:07 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-08-25 20:16:41 +0530
commit84dfb926e508aeedd5088a4f029464bf2d5b3791 (patch)
tree77f48e09688e99c6073b3e720aac9ae9189486b1 /hw/9pfs/virtio-9p.h
parent56a7a874e962e28522857fbf72eaefb1a07e2001 (diff)
downloadqemu-84dfb926e508aeedd5088a4f029464bf2d5b3791.zip
qemu-84dfb926e508aeedd5088a4f029464bf2d5b3791.tar.gz
qemu-84dfb926e508aeedd5088a4f029464bf2d5b3791.tar.bz2
hw/9pfs: Add reference counting for fid
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'hw/9pfs/virtio-9p.h')
-rw-r--r--hw/9pfs/virtio-9p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h
index 1d8c1b1..e16e5f4 100644
--- a/hw/9pfs/virtio-9p.h
+++ b/hw/9pfs/virtio-9p.h
@@ -203,6 +203,8 @@ struct V9fsFidState
V9fsXattr xattr;
} fs;
uid_t uid;
+ int ref;
+ int clunked;
V9fsFidState *next;
};