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