]> git.proxmox.com Git - qemu.git/commit - hw/9pfs/virtio-9p-xattr.c
[virtio-9p] Make rpath thread safe
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Wed, 1 Jun 2011 07:05:14 +0000 (12:35 +0530)
committerVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Wed, 1 Jun 2011 17:25:17 +0000 (10:25 -0700)
commitfaa44e3d3e986f29579e0d0d07b7aef771184e8c
treeeed23e2305a7d683f6f10ce6e68ee87a312fc27d
parent873c32139354caef3cc1013f00963cc740a6a727
[virtio-9p] Make rpath thread safe

Current rpath inline function is heavily used in all system calls.
This function has a static buffer making it a non-thread safe function.
This patch introduces new thread-safe routine and makes use of it.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
fsdev/file-op-9p.h
hw/9pfs/virtio-9p-local.c
hw/9pfs/virtio-9p-posix-acl.c
hw/9pfs/virtio-9p-xattr-user.c
hw/9pfs/virtio-9p-xattr.c
hw/9pfs/virtio-9p-xattr.h
hw/9pfs/virtio-9p.h