[virtio-9p] Make v9fs_do_utimensat accept timespec structures instead of v9stat.
authorSripathi Kodi <sripathik@in.ibm.com>
Wed, 9 Jun 2010 13:44:38 +0000 (19:14 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 8 Sep 2010 17:26:40 +0000 (22:56 +0530)
commitff99cc2cd8fa867f0f351c5231a1ca39b13a8db8
tree27c9801edc8d3d7e11b827e60642490e870675fb
parent1cc64ef3a0a2afcec595920d93fb5d7b96df9913
[virtio-9p] Make v9fs_do_utimensat accept timespec structures instead of v9stat.

Currently v9fs_do_utimensat takes a V9fsStat argument and builds
timespec structures. It sets tv_nsec values to 0 by default. Instead
of this it should take struct timespec[2] and pass it down to the
system directly. This will make it more generic and useful
elsewhere.

Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
hw/virtio-9p.c