virtio-9p: Use lchown which won't follow symlink
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 2 Sep 2010 05:39:07 +0000 (11:09 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 8 Sep 2010 17:26:42 +0000 (22:56 +0530)
commit88fcca8ed884143d8ea2229672fb29a62d7b5e0d
tree3ce96facb16ec9cb0453555568d1b6588211007e
parent9ea44459798258593e9276993dcdf4ff999c6089
virtio-9p: Use lchown which won't follow symlink

We should always use functions which don't follow
symlink on the server

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/virtio-9p-local.c